<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem reducing a property from &amp;lt;multiple&amp;gt; to single in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-reducing-a-property-from-lt-multiple-gt-to-single/m-p/266123#M219253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have crated a custom property of type d:text, originally defined als &amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to change it to only allow single values causes a problem when trying to delete old nodes that were created under the original model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unable to delete Space due to system error: Failed to execute transaction-level behaviour public abstract void org.alfresco.repo.node.NodeServicePolicies$OnUpdateNodePolicy.onUpdateNode(org.alfresco.service.cmr.repository.NodeRef) in transaction 25c1866e-1b32-11e1-a8f2-b7e9e5abd43b&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: A single-valued property of this type may not be a collection&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This makes sense to me as the old properties were obviously stored as collections, and now the new model is saying they should be Strings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUt it raises the question: how to deal with an change of model of this nature? Is there a procedure to "update" old nodes to the new model? It would be OK in this case to simply preserve the first value in the collection and forget about the rest.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2011 09:40:48 GMT</pubDate>
    <dc:creator>frank_d</dc:creator>
    <dc:date>2011-12-01T09:40:48Z</dc:date>
    <item>
      <title>Problem reducing a property from &lt;multiple&gt; to single</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-reducing-a-property-from-lt-multiple-gt-to-single/m-p/266123#M219253</link>
      <description>We have crated a custom property of type d:text, originally defined als &amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;.Trying to change it to only allow single values causes a problem when trying to delete old nodes that were created under the original model.Exception:Unable to delete Space due to system err</description>
      <pubDate>Thu, 01 Dec 2011 09:40:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-reducing-a-property-from-lt-multiple-gt-to-single/m-p/266123#M219253</guid>
      <dc:creator>frank_d</dc:creator>
      <dc:date>2011-12-01T09:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reducing a property from &lt;multiple&gt; to single</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-reducing-a-property-from-lt-multiple-gt-to-single/m-p/266124#M219254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Before deploying the new content model you should remove or update all the old nodes created with the old content model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you have updated the old nodes, then you can disable the involved model, and then update it with a new version and then you can enable it again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To disable and enable a content model, you have to manage the Model Active property available for each model deployed as a content in the repo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 15:38:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-reducing-a-property-from-lt-multiple-gt-to-single/m-p/266124#M219254</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-12-02T15:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reducing a property from &lt;multiple&gt; to single</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-reducing-a-property-from-lt-multiple-gt-to-single/m-p/266125#M219255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Worth a try. Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 17:05:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-reducing-a-property-from-lt-multiple-gt-to-single/m-p/266125#M219255</guid>
      <dc:creator>frank_d</dc:creator>
      <dc:date>2011-12-05T17:05:28Z</dc:date>
    </item>
  </channel>
</rss>

