Open GoogleCodeExporter opened 8 years ago
Trying to update a navigation property and sending only one entity, works
(where Location.owner is a one-to-one navigation property):
Headers:
POST /datastore.svc/Location(222L) HTTP/1.1
Host: 127.0.0.1:8888
Connection: keep-alive
Content-Length: 105
X-HTTP-Method: MERGE
Content-Type: application/json
Accept: application/json
Payload:
{"owner":{"__metadata":{"uri":"http://127.0.0.1:8888/datastore.svc/User(183L)","
type":"Datastore.User"}}}
Original comment by miguel.ans@gmail.com
on 29 Mar 2012 at 4:45
Problem still exists in 0.7.0.
Any update on this issue?
Original comment by miguel.ans@gmail.com
on 22 Nov 2012 at 10:17
After looking into the json stream parser it looks like to me that odata4j
tries to parse the __metadata as a normal name:string property, and of course
it fails. The exact same exception happens even on merge requests not having
any associations (without the __metadata part they are all successful). The
problem still persists in 8.0-SNAPSHOT.
Original comment by borsos.a...@gmail.com
on 31 Oct 2014 at 3:03
Any Update on how this can be achieved? I need an alternative way for this
Original comment by sudheerm...@gmail.com
on 14 Jun 2015 at 5:36
Original issue reported on code.google.com by
miguel.ans@gmail.com
on 29 Mar 2012 at 4:42