chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <>
Subject [jira] Commented: (CMIS-299) checkIn method don't set empty multiple value property
Date Wed, 26 Jan 2011 12:19:44 GMT


Florian Müller commented on CMIS-299:

Could you please specify which Alfresco version and which binding are you using. Thanks!
(This is probably an Alfresco issue and not an OpenCMIS issue.)

> checkIn method don't set empty multiple value  property 
> --------------------------------------------------------
>                 Key: CMIS-299
>                 URL:
>             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.

View raw message