AnsweredAssumed Answered

Custom model property change to multiple values

Question asked by ajansen on Jan 21, 2008
Latest reply on Jan 21, 2008 by davidc

We need to change a property of our Custom content model from a single value field to a multiple value field. So the line in bold we want to add to the model.

   <property name="mn:territory">


For any new item this is working OK, but the previously created items it is giving an error:

javax.faces.FacesException: org.alfresco.service.cmr.repository.NodeRef
caused by:
org.apache.jasper.JasperException: org.alfresco.service.cmr.repository.NodeRef
caused by:
java.lang.ClassCastException: org.alfresco.service.cmr.repository.NodeRef

Our question is:
- Is it possible to modify a property to multiple values ?
- If so, how to migrate the old nodes ?
- Or is there another way to upgrade the model?

The Alfresco version we use is 2.1

Thanks in advance