Christian Holzer created OLINGO-668:
---------------------------------------
Summary: 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)