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/25 16:47:54 UTC
[jira] [Assigned] (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:all-tabpanel ]
Christian Holzer reassigned OLINGO-590:
---------------------------------------
Assignee: Christian Holzer
> 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
> Assignee: 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)