<?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 onCreateNode isn't triggered by creation of archieved node in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/oncreatenode-isn-t-triggered-by-creation-of-archieved-node/m-p/253396#M206526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I'm using Alfresco Enterprise 3.3.3.7 and have troubles with handling of archived nodes creation. I'm developing some kind of node monitoring. I implemented the interface NodeServicePolicies.OnCreateNodePolicy and bound this policy in this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;this.policyComponent.bindClassBehaviour(QName.createQName(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;NamespaceService.ALFRESCO_URI, "onCreateNode"),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentModel.TYPE_CONTENT, new JavaBehaviour(this,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"onCreateNode"));&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Also I implemented and bound the policies ContentServicePolicies.OnContentReadPolicy, NodeServicePolicies.OnDeleteNodePolicy and some the others. When it works with regular content, all is OK. When the node is being deleted, I need to intercept creation of an archived node. But as I see, onCreateNode() is not triggered for archived nodes. OnCreateNode() is implemented like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@Override&lt;BR /&gt;public void onCreateNode(ChildAssociationRef childAssocRef) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;log.debug("onCreateNode()");&lt;BR /&gt;// some code&lt;BR /&gt;}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;I have never seen calls of onCreateNode() for archived nodes in the log file. Besides, afrer deleting a node (i. e. after call of onDeleteNode()), I can see call of onContentRead() for just created archived node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could anyone tell me why onCreateNode() is not triggered by creating archieved nodes? When I used Alfresco Enterprice 3.2r, all worked correctly. The problems begin afrer switching to using of Alfresco 3.3…]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS. I tried to using "this" in the parameters of bindClassBehaviour() instead of ContentModel.TYPE_CONTENT. It did not give any result…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 13:52:46 GMT</pubDate>
    <dc:creator>alexsolomatin</dc:creator>
    <dc:date>2011-01-27T13:52:46Z</dc:date>
    <item>
      <title>onCreateNode isn't triggered by creation of archieved node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/oncreatenode-isn-t-triggered-by-creation-of-archieved-node/m-p/253396#M206526</link>
      <description>Hello.Now I'm using Alfresco Enterprise 3.3.3.7 and have troubles with handling of archived nodes creation. I'm developing some kind of node monitoring. I implemented the interface NodeServicePolicies.OnCreateNodePolicy and bound this policy in this way:this.policyComponent.bindClassBehaviour(QName.</description>
      <pubDate>Thu, 27 Jan 2011 13:52:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/oncreatenode-isn-t-triggered-by-creation-of-archieved-node/m-p/253396#M206526</guid>
      <dc:creator>alexsolomatin</dc:creator>
      <dc:date>2011-01-27T13:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: onCreateNode isn't triggered by creation of archieved node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/oncreatenode-isn-t-triggered-by-creation-of-archieved-node/m-p/253397#M206527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think its probably part of a deliberate bug fix.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 14:14:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/oncreatenode-isn-t-triggered-by-creation-of-archieved-node/m-p/253397#M206527</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-01-27T14:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: onCreateNode isn't triggered by creation of archieved node</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/oncreatenode-isn-t-triggered-by-creation-of-archieved-node/m-p/253398#M206528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hm… Does any way exist how I can handle creating and deleting archived nodes? Perhaps, could you give me a link to the documentation where it's described?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 14:19:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/oncreatenode-isn-t-triggered-by-creation-of-archieved-node/m-p/253398#M206528</guid>
      <dc:creator>alexsolomatin</dc:creator>
      <dc:date>2011-01-27T14:19:26Z</dc:date>
    </item>
  </channel>
</rss>

