Dear,
In Alfresco I have the following field:
<property name="foo:test">
<type>d:noderef</type>
<multiple>true</multiple>
</property>
If I try to set the properties but leave this field empty (not setting it), I
get the following exception in OpenCMIS.
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at
org.apache.chemistry.opencmis.client.runtime.repository.PersistentObjectFactoryImpl.convertProperties(PersistentObjectFactoryImpl.java:463)
I tried to pass an empty List or a list with a null value but they all fail
with one of the following exceptions:
* Property 'foo:test' is an Id property!
* Property 'foo:test' contains null values!
Any idea how I can set an empty value for a multiple value field?
Kind regards,
Geert Vanheusden