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 Amend (JIRA)" <ji...@apache.org> on 2015/05/11 14:48:10 UTC

[jira] [Updated] (OLINGO-561) Client proxy fails updating entity nullifying a nullable property

     [ https://issues.apache.org/jira/browse/OLINGO-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Amend updated OLINGO-561:
-----------------------------------
    Fix Version/s:     (was: (Java) V4 4.0.0-beta-03)
                   (Java) V4 4.0.0

> Client proxy fails updating entity nullifying a nullable property
> -----------------------------------------------------------------
>
>                 Key: OLINGO-561
>                 URL: https://issues.apache.org/jira/browse/OLINGO-561
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-client
>    Affects Versions: (Java) V4 4.0.0-beta-02
>            Reporter: fabio martelli
>             Fix For: (Java) V4 4.0.0
>
>
> Currently the client proxy generates a patch request to nullify a specific entity property. The patch body sent to the server is an entity type including element like as following.
> FirstName@odata.type":"String","FirstName":null
> This seems to generate failures in case of non-string properties.
> Furthermore, I'm not sure about the correctness of using patch requests to nullify properties. It would be better to manage property nullifications via a specific DELETE request per property to be nullified.



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