[
https://issues.apache.org/jira/browse/OLINGO-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Holzer reassigned OLINGO-600:
---------------------------------------
Assignee: Christian Holzer
> Client navigation property deserialization
> ------------------------------------------
>
> Key: OLINGO-600
> URL: https://issues.apache.org/jira/browse/OLINGO-600
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Affects Versions: (Java) V4 4.0.0-beta-03
> Reporter: Christian Holzer
> Assignee: Christian Holzer
> Priority: Minor
>
> The “EdmEnabledClient” OData client deserializes only the first inlined
> navigation property on the first level. Other levels work fine.
> {code:title=For example consider the following response:}
> {
> @odata.context: "$metadata#Employee/$entity"
> Name: "Dave",
> Age: "Test String4"
> Company:
> {
> ID: 32767,
> Name: “My company”
> },
> Address: [
> {
> Street: “MyStreet”
> },
> {
> MyStreet: “MyStreet2”
> }
> ]
> }
> {code}
> “Company” and “Address” are navigation properties.
> {code}
> final ODataEntityCreateResponse<ODataEntity> response = ….
> assertNotNull(response.getBody().getNavigationLink(“Company”) );
> assertNotNull(response.getBody().getNavigationLink(“Address”));
> // fail!
> {code}
> Kind regards
> Christian
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)