You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Holzer (JIRA)" <ji...@apache.org> on 2015/05/29 14:46:18 UTC

[jira] [Closed] (OLINGO-668) EdmEnabledODataClient can`t handle navigation properties set to null

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

Christian Holzer closed OLINGO-668.
-----------------------------------
    Resolution: Fixed

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

> EdmEnabledODataClient can`t handle navigation properties set to null
> --------------------------------------------------------------------
>
>                 Key: OLINGO-668
>                 URL: https://issues.apache.org/jira/browse/OLINGO-668
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-client
>    Affects Versions: (Java) V4 4.0.0
>            Reporter: Christian Holzer
>            Assignee: Christian Holzer
>            Priority: Minor
>
> The EdmEnabledODataClient throws a NullpointerException if a single-valued navigation property is set to null.
> {code}
> final ODataRetrieveResponse<ClientEntity> response = getClient().getRetrieveRequestFactory() .getEntityRequest(uri).execute();
>     
> assertEquals(0, response.getBody().getNavigationLinks().size());
> {code}
> Kind regards
> Christian 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)