checkIn method don't set empty multiple value  property 
--------------------------------------------------------

                 Key: CMIS-299
                 URL: https://issues.apache.org/jira/browse/CMIS-299
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client
    Affects Versions: 0.2.0-incubating
         Environment: used with alfresco  repository
            Reporter: Dmitry


I try to checkIn working copy object and set multiple value  property  with 
empty value 
But property store not empty value from previous version

I have tried  to set null value of property and empty list but in any case I 
have gotten same result.

Document checkIn = (Document)session.getObject(checkOut.checkIn(true, new 
HashMap(){{put("avetti:customdtos",null);}}, null, "Checkin"));

and 

Document checkIn = (Document)session.getObject(checkOut.checkIn(true, new 
HashMap(){{put("avetti:customdtos",new ArrayList());}}, null, "Checkin"));


I have tried to set property to Working copy directly
And then do checkIn

checkOut.updateProperties(new HashMap(){{put("avetti:customdtos",new 
ArrayList());}});
or
checkOut.updateProperties(new HashMap(){{put("avetti:customdtos",null);}});
and
Document checkIn = (Document)session.getObject(checkOut.checkIn(true, null, 
null, "Checkin"));

But result have not changed


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to