[
https://issues.apache.org/jira/browse/UNOMI-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16862050#comment-16862050
]
Serge Huber commented on UNOMI-234:
-----------------------------------
Hello thanks for your interest in Unomi and for your report.
Yes this is a current limitation, and something I would like to improve but it
might be a bit tricky.
In the meantime a work around could be to serialize complex properties to JSON
and store them as string but I do realize that's quite different than what you
are expecting.
Regards,
Serge Huber.
> Nested profile properties doesn't allow a profile to be inserted
> ----------------------------------------------------------------
>
> Key: UNOMI-234
> URL: https://issues.apache.org/jira/browse/UNOMI-234
> Project: Apache Unomi
> Issue Type: Bug
> Affects Versions: 1.4.0
> Reporter: Michele Riva
> Priority: Major
>
> I am not able to post the following properties to */cxs/profiles*:
>
> {code:java}
> {
> ...
> "properties": {
> "contacts": {
> "phone": "xxxxxxxxxx",
> "email": "xxxxxxxxxx"
> },
> "user": {
> "name": {
> "first": "John",
> "last:" "Doe"
> }
> },
> "location": {
> "city": "Milan",
> "country": "Italy",
> "address": "Piazza Duomo",
> "zipCode": "20019"
> }
> }
> }{code}
>
>
> I get a 204 status code and no content as response (as the status code
> suggests).
> Posting the same data without nested objects works fine, getting back a 200
> status code and the object itself.
> Not sure if a bug or a feature request, but it could be really useful to post
> nested objects as properties.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)