[ 
https://issues.apache.org/jira/browse/OLINGO-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Holzer resolved OLINGO-600.
-------------------------------------
    Resolution: Fixed

Fixed with 
[OLINGO-600|https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=0113414e2624be103448d9bc08fada08f08ce86e]

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

Reply via email to