Vladimir Mikhaylenko created OLINGO-1225:
--------------------------------------------

             Summary: PUT with only updated properties stopped working after 
2.0.10
                 Key: OLINGO-1225
                 URL: https://issues.apache.org/jira/browse/OLINGO-1225
             Project: Olingo
          Issue Type: Question
          Components: odata2-jpa
    Affects Versions: V2 2.0.10
            Reporter: Vladimir Mikhaylenko


I tried upgrading the Olingo in my project from 2.0.9 to 2.0.10 and noticed 
that updates on entities with PUT behave differently:

In 2.0.9 update like this works:
{code:java}
<?xml version='1.0' encoding='utf-8'?><entry 
xmlns="http://www.w3.org/2005/Atom"; 
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"; 
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"; 
xml:base="Persons">
<content type="application/xml">
 <m:properties>
 <d:Email m:null="true"/>
 <d:FirstName m:null="true"/>
 <d:LastName>Johnson</d:LastName>
 <d:Phone m:null="true"/>
 <d:UserId>s84669</d:UserId>
 </m:properties>
</content>
</entry>

{code}
After changing Olingo version to 2.0.10 all properties are updated. Is this 
planned change?

Update of entity links also affected. 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to