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/26 17:31:18 UTC

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

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)