[ 
https://issues.apache.org/jira/browse/UNOMI-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865451#comment-16865451
 ] 

Serge Huber commented on UNOMI-234:
-----------------------------------

Ok I think I know where this is coming from, we use the location in the session 
information, and potentially this conflicts somehow with the profile.

This might be due to ElasticSearch mapping (which cannot be changed once they 
have a value). 

Regards,
  Serge... 

> 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)

Reply via email to