olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OLINGO-1104) NavigationLink missing from JSON with expand and metadata=full
Date Thu, 13 Apr 2017 14:39:41 GMT

     [ 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.  
> {{"Items@odata.navigationLink" : "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)

Mime
View raw message