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/03/12 16:59:38 UTC

[jira] [Commented] (OLINGO-590) JSON deserializer do not deserialize nulled inline entities

    [ https://issues.apache.org/jira/browse/OLINGO-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14358864#comment-14358864 ] 

Christian Holzer commented on OLINGO-590:
-----------------------------------------

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

> JSON deserializer do not deserialize nulled inline entities
> -----------------------------------------------------------
>
>                 Key: OLINGO-590
>                 URL: https://issues.apache.org/jira/browse/OLINGO-590
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.0.0-beta-03
>            Reporter: Christian Holzer
>            Priority: Minor
>
> The JSON deserializer throws an exception if a single valued navigation property is set to null, even if null values are allowed.
> Consider the following payload of a PATCH request:
> {
>     "NavPropertyETTwoPrimOne": null
> }
> Up to the metadata document of the TecSvc Service ETAllPrim/NavPropertyETTwoPrimOne can be set to null.
> This behavior results in the exception message "Invalid value for navigation property 'NavPropertyETTwoPrimOne'. Must be an array for collections or for an entity either null or an object.”
> Kind regards
> Christian



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