chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] Resolved: (CMIS-299) checkIn method don't set empty multiple value property
Date Wed, 26 Jan 2011 15:47:53 GMT

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

Florian Müller resolved CMIS-299.
---------------------------------

    Resolution: Not A Problem

Not an OpenCMIS issue.

> 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.


Mime
View raw message