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.
[email protected]":"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)