[
https://issues.apache.org/jira/browse/OLINGO-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jon McEwen updated OLINGO-1104:
-------------------------------
Description:
When a client request is like
{{http://server/service/Entities?$expand=Children}}
with header
{{Accept: application/json;odata.metadata=full}}
then the response should include in each Entity a navigationLink corresponding
to the Children, as described here:
http://docs.oasis-open.org/odata/odata-json-format/v4.0/errata03/os/odata-json-format-v4.0-errata03-os-complete.html#_Toc453766637
e.g.
{{"[email protected]" :
"http://server/service/Entities(123)/Children"}}
Suggested fix:
https://github.com/apache/olingo-odata4/pull/17
was:
When a client request is like
{{monospaced}}http://server/service/Entity(123)?$expand=Children{{monospaced}}
with header
{{monospaced}}Accept: application/json;odata.metadata=full{{monospaced}}
then the response should include in the Entity a navigationLink corresponding
to the Children, as described here:
http://docs.oasis-open.org/odata/odata-json-format/v4.0/errata03/os/odata-json-format-v4.0-errata03-os-complete.html#_Toc453766637
e.g.
{{monospaced}}"[email protected]" :
"http://server/service/Entities(123)/Children"{{monospaced}}
Suggested fix:
https://github.com/apache/olingo-odata4/pull/17
> NavigationLink missing from JSON with expand and metadata=full
> --------------------------------------------------------------
>
> Key: OLINGO-1104
> URL: https://issues.apache.org/jira/browse/OLINGO-1104
> Project: Olingo
> Issue Type: Bug
> Affects Versions: (Java) V4 4.3.0
> Reporter: Jon McEwen
>
> When a client request is like
> {{http://server/service/Entities?$expand=Children}}
> with header
> {{Accept: application/json;odata.metadata=full}}
> then the response should include in each Entity a navigationLink
> corresponding to the Children, as described here:
> http://docs.oasis-open.org/odata/odata-json-format/v4.0/errata03/os/odata-json-format-v4.0-errata03-os-complete.html#_Toc453766637
> e.g.
> {{"[email protected]" :
> "http://server/service/Entities(123)/Children"}}
> Suggested fix:
> https://github.com/apache/olingo-odata4/pull/17
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)