Content type with multiple option removed problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2012 03:18 AM
I have a property defined in my content model as a text. The declaration is as below.
actually all nodes has only one value for custom
n 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 ?
<property name="custom:pn"> <type>d:text</type> <multiple>true</multiple></property>
actually all nodes has only one value for custom

{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 ?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2012 06:55 AM
Hi,
I guess you'll to create a new single value property & implement a patch that migrates your document props.
Cheers, jan
I guess you'll to create a new single value property & implement a patch that migrates your document props.
Cheers, jan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2012 10:48 PM
Hi,
I guess you'll to create a new single value property & implement a patch that migrates your document props.
Cheers, jan
yeah, thanks for you advice.
