<?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: Issue with behaviors called several times in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309465#M262595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OnUpdateNodePolicy behaviours will be called every time&amp;nbsp;you add/remove aspect ,set node type,add/remove/update property . So please check your operation carefully whether your operation&amp;nbsp;fall into those categories&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2016 10:07:35 GMT</pubDate>
    <dc:creator>kaynezhang</dc:creator>
    <dc:date>2016-09-27T10:07:35Z</dc:date>
    <item>
      <title>Issue with behaviors called several times</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309464#M262594</link>
      <description>Hello,I have been tasked to develop a feature that sends mail to specific users when a document has been modified. Essentially, I use behavior policies and aspects. Aspect 'subscribable' is used. I register the event-handler like this &lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;olicyComponent.bindClassBehaviour(&amp;nbsp;&amp;nbsp; &amp;nbsp;NodeServicePolicies.OnUpd</description>
      <pubDate>Tue, 27 Sep 2016 08:48:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309464#M262594</guid>
      <dc:creator>eric_k</dc:creator>
      <dc:date>2016-09-27T08:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with behaviors called several times</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309465#M262595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OnUpdateNodePolicy behaviours will be called every time&amp;nbsp;you add/remove aspect ,set node type,add/remove/update property . So please check your operation carefully whether your operation&amp;nbsp;fall into those categories&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 10:07:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309465#M262595</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-09-27T10:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with behaviors called several times</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309466#M262596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using Alfresco Share probably when you drop new content, Share will update the node for creating new association instances for thumbnail and preview content.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:18:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309466#M262596</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2016-09-27T13:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with behaviors called several times</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309467#M262597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case the user is using the notification frequency TRANSACTION_COMMIT which should ensure the policy is only called once (per affected node) at the end of the transaction regardless of how often the node is updated during the transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:21:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309467#M262597</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-09-27T13:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with behaviors called several times</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309468#M262598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answers,&lt;/P&gt;&lt;P&gt;As Axel said, with the notification frequency TRANSACTION_COMMIT, I expect the event-handler to be called only once.&lt;/P&gt;&lt;P&gt;That is not what I see in the logs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 15:34:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309468#M262598</guid>
      <dc:creator>eric_k</dc:creator>
      <dc:date>2016-09-27T15:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with behaviors called several times</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309469#M262599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those who are interesed in policies and behaviors, I made tests with following behaviors. I wanted to knwo what behaviors are triggered by document related events.&lt;/P&gt;&lt;P&gt;- &lt;SPAN lang="EN-US" style="color: black; font-family: andale mono,times; font-size: 10pt;"&gt;ContentServicePolicies.OnContentUpdatePolicy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times; font-size: 10pt;"&gt;- ContentServicePolicies.OnContentPropertyUpdatePolicy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: andale mono,times; font-size: 10pt;"&gt;- NodeServicePolicies.OnUpdateNodePolicy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: andale mono,times; font-size: 10pt;"&gt;- &lt;SPAN lang="EN-US" style="color: black;"&gt;NodeServicePolicies.OnUpdatePropertiesPolicy&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table shows the results :&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/9713_pastedImage_5.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 14:28:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309469#M262599</guid>
      <dc:creator>eric_k</dc:creator>
      <dc:date>2016-10-03T14:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with behaviors called several times</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309470#M262600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One note of caution: This only applies to an unmodified. uncustomized installation of Alfresco without any custom rules, behaviours, web scripts and/or services set up that could in turn trigger additional behaviours with the changes they are applying to nodes. There is no guarantee for this observation to hold true between different Alfresco versions either as behaviour of Alfresco web scripts / APIs for Share UI actions may be changed due to feature changes or simple bug fixes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 22:11:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-behaviors-called-several-times/m-p/309470#M262600</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-10-03T22:11:35Z</dc:date>
    </item>
  </channel>
</rss>

