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