Re: Update Multi value property using a MapString, Object

2010-12-13 Thread Florian Müller
Hi Mano, Could you provide a few more details? Is the property updatable? Is the document checked out? Does the type require a check-out before update? Do you provide a List of homogenous values without null values? What is the data type of the property? Property values are checked by

Re: Update Multi value property using a MapString, Object

2010-12-13 Thread Mano Swerts
Hi Florian, Yes the property is updatable and it doesn't require a check-out. Like I stated below, it does work when using the setPropertyMultivalue method. I provide a ListBigInteger to the method which does not contain null values. Other single value properties however can be null, so we'd

Re: Update Multi value property using a MapString, Object

2010-12-13 Thread Florian Müller
Hi Mano, I have tested that with OpenCMIS 0.2 and the multi-value property update works. What doesn't work, however, is the single-value property update. DateTime properties have to be of type GregorianCalendar and not Date. You should get an exception. Which Alfresco version and which binding

Re: Update Multi value property using a MapString, Object

2010-12-13 Thread Mano Swerts
Hi Florian, I will try OpenCMIS 0.2 then. I think that will solve my problem. I simplified the code in my mail and replaced a custom getter with new Date(), but in our code the getter returns a GregorianCalendar. My mistake. I'll let you know if this solves my problem. Thanks. Mano On 13