AnsweredAssumed Answered

Content type with multiple option removed problem

Question asked by unknown-user on Nov 21, 2012
Latest reply on Nov 22, 2012 by unknown-user
I have a property defined in my content model as a text. The declaration is as below.

<property name="custom:pn">
   <type>d:text</type>
   <multiple>true</multiple>
</property>

actually all nodes has only one value for custom:pn property, so I remove multiple option and after full index rebuild, query use web service, get following error:
   {http://www.alfresco.org/ws/service/repository/1.0}RepositoryFault:<ns1:errorCode>0</ns1:errorCode><ns1:message>org.alfresco.service.cmr.repository.datatype.TypeConversionException: There is no conversion registered for the value:
   value class: java.util.ArrayList
   to class: java.lang.String
   value: [TEST01]</ns1:message>

If I search In Alfresco Node Browser, the result value still marked with –collection– in red color , I do rebuild full index again, same result,
what should I do to convert the value list to string or anything else convenient way to achieve ?

Outcomes