<?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 Re: How change exception message in a child-association in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68866#M22797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A cyclic child relationship has nothing to do with the setting / value of duplicate. It is absolutely forbidden to have a cycle in your data structures. There is no way to override this type of exception without patching / overriding core services or out-of-the-box web scripts.&amp;nbsp;There is also no way to override the exception message since this such a technical error that Alfresco actually embedded the message into the code instead of relying on a translate-able message resource.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2018 09:38:05 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-06-13T09:38:05Z</dc:date>
    <item>
      <title>How change exception message in a child-association</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68863#M22794</link>
      <description>Hi, i have created this child-association in Alfresco:&amp;lt;child-association name="da:mcAssociation"&amp;gt; &amp;lt;title&amp;gt;Association&amp;lt;/title&amp;gt;&amp;nbsp; &amp;lt;source&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;many&amp;gt;true&amp;lt;/many&amp;gt; &amp;nbsp;&amp;nbsp; &amp;lt;/source&amp;gt;&amp;nbsp; &amp;lt;target&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;class&amp;gt;cm:content&amp;lt;</description>
      <pubDate>Tue, 12 Jun 2018 10:23:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68863#M22794</guid>
      <dc:creator>zlucy82</dc:creator>
      <dc:date>2018-06-12T10:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: How change exception message in a child-association</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68864#M22795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to show a customised message for the user in Share web application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 08:22:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68864#M22795</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-06-13T08:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How change exception message in a child-association</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68865#M22796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a new custom content model containing my custom types and associations (type child-associations) and then i created a custom share action that runs a webscript to show this relations in alfresco share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the configuration of a node, a user can modify its properties and&amp;nbsp; can associate it with another node that becames its child. Since i have setted the tag duplicate to false, if the user try to associate a duplicate child, the system return an exception message that i want to customize. The exception is of the type "CyclicChildRelationshipException", maybe should i override this type of exception?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:09:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68865#M22796</guid>
      <dc:creator>zlucy82</dc:creator>
      <dc:date>2018-06-13T09:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: How change exception message in a child-association</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68866#M22797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A cyclic child relationship has nothing to do with the setting / value of duplicate. It is absolutely forbidden to have a cycle in your data structures. There is no way to override this type of exception without patching / overriding core services or out-of-the-box web scripts.&amp;nbsp;There is also no way to override the exception message since this such a technical error that Alfresco actually embedded the message into the code instead of relying on a translate-able message resource.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:38:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68866#M22797</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-06-13T09:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: How change exception message in a child-association</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68867#M22798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Alex for your reply.&lt;BR /&gt;I want to avoid to have cycle in data structure, i want create associations between nodes but i don't want they create a cycle. The only way that i found to do this is to create the child-association as i write above. If there is another way, i appreciate&amp;nbsp; any suggests. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 10:02:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-change-exception-message-in-a-child-association/m-p/68867#M22798</guid>
      <dc:creator>zlucy82</dc:creator>
      <dc:date>2018-06-13T10:02:56Z</dc:date>
    </item>
  </channel>
</rss>

