09-27-2006 04:01 AM
<property name="parameters">
<title>Parameters</title>
<type>d:any</type>
</property>
when I try to add an aspect containing this property:
Map parameterMap = new HashMap();
parameterMap.put("key1", "value1");
…
aspectProperties.put(Model.PROP_PARAMETERS, parameterMap );
…
nodeService.addAspect(spaceRef, Model.ASPECT_AN_ASPECT, aspectProperties);
I get this exception:
ERROR [util.transaction.SpringAwareUserTransaction] Transaction didn't commit
org.alfresco.service.cmr.repository.datatype.TypeConversionException: There is no conversion registered for the value:
value class: java.util.HashMap
to class: java.lang.String
value: {key1=value1}
09-28-2006 11:19 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.