[
https://issues.apache.org/jira/browse/OLINGO-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramesh Reddy resolved OLINGO-1104.
----------------------------------
Resolution: Fixed
Assignee: Ramesh Reddy
Fix Version/s: (Java) V4 4.4.0
You are saying that when there is a explicit "expand" then the annotation is
not present. I see that, I made required changes. I broadened your patch to
include all the navigation properties in the entity, not just the ones expanded.
See
https://github.com/apache/olingo-odata4/commit/3a8cbcc337577a1cf56cf77383d62edcf2fea857
Thank you for caching this!!!
> 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
> Components: odata4-server
> Affects Versions: (Java) V4 4.3.0
> Reporter: Jon McEwen
> Assignee: Ramesh Reddy
> Fix For: (Java) V4 4.4.0
>
>
> 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)