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] [Commented] (OLINGO-1104) NavigationLink missing from JSON with expand and metadata=full
Date Wed, 12 Apr 2017 15:30:42 GMT

    [ https://issues.apache.org/jira/browse/OLINGO-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966058#comment-15966058
] 

Ramesh Reddy commented on OLINGO-1104:
--------------------------------------

This should have been covered under [1], debug and see why this is not being hit by your code.

[1] https://github.com/apache/olingo-odata4/blob/master/lib/server-core/src/main/java/org/apache/olingo/server/core/serializer/json/ODataJsonSerializer.java#L546

> 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
>
> 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