You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "fabio martelli (JIRA)" <ji...@apache.org> on 2015/02/05 11:45:34 UTC
[jira] [Created] (OLINGO-561) Client proxy fails updating entity
nullifying a nullable property
fabio martelli created OLINGO-561:
-------------------------------------
Summary: 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-beta-03
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)