Michele Riva created UNOMI-234:
----------------------------------
Summary: 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
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)