<?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: ContentTemplateService contribution registred after execution of executePostContentCreationHandlers, why ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/contenttemplateservice-contribution-registred-after-execution-of/m-p/324776#M11777</link>
    <description>&lt;P&gt;It is a bug in Nuxeo IDE&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXIDE-188" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXIDE-188&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2013 09:29:05 GMT</pubDate>
    <dc:creator>influence160_</dc:creator>
    <dc:date>2013-01-31T09:29:05Z</dc:date>
    <item>
      <title>ContentTemplateService contribution registred after execution of executePostContentCreationHandlers, why ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/contenttemplateservice-contribution-registred-after-execution-of/m-p/324775#M11776</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;i created a contrib in org.nuxeo.ecm.platform.content.template.service.ContentTemplateService&lt;/P&gt;
&lt;P&gt;commands-content-template-contrib.xml&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;component name="org.d2t.sample.filescommand.command.contentTemplate"&amp;gt;

   &amp;lt;require&amp;gt;org.nuxeo.ecm.platform.content.template.service.ContentTemplateService.defaultContrib&amp;lt;/require&amp;gt;

 &amp;lt;extension
  target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
   point="factoryBinding"&amp;gt;

   &amp;lt;factoryBinding name="RootFactory" factoryName="SimpleTemplateRootFactory"     targetType="Root" append="true"&amp;gt;
     &amp;lt;template&amp;gt;
    &amp;lt;templateItem typeName="CommandRoot" id="command-root" title="Commands" /&amp;gt;
     &amp;lt;/template&amp;gt;
   &amp;lt;/factoryBinding&amp;gt;

 &amp;lt;/extension&amp;gt;

 &amp;lt;extension target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
   point="postContentCreationHandlers"&amp;gt;

    &amp;lt;postContentCreationHandler name="commandsHandler"
  class="org.d2t.sample.filescommand.CommandsHandler" /&amp;gt;

 &amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;MANIFEST.MF&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .
Manifest-Version: 1.0
Bundle-Name: filescommand
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-Vendor: Nuxeo
Bundle-Version: 5.6
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.d2t.sample.filescommand;singleton=true
Nuxeo-Component: OSGI-INF/command-type.xml,
OSGI-INF/command-type-ui.xml,
OSGI-INF/commands-content-template-contrib.xml,
OSGI-INF/commands-service.xml,
OSGI-INF/commands-service-contrib.xml
Require-Bundle: org.nuxeo.ecm.platform.content.template,
org.nuxeo.ecm.platform.types.core
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;command-type.xml&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="org.d2t.sample.filescommand.command.type"&amp;gt;
  &amp;lt;require&amp;gt;org.nuxeo.ecm.core.schema.TypeService&amp;lt;/require&amp;gt;
  
  &amp;lt;extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype"&amp;gt;
  
    &amp;lt;doctype name="Command" extends="Folder"&amp;gt;
      &amp;lt;schema name="common"/&amp;gt;
      &amp;lt;schema name="dublincore"/&amp;gt;
      &amp;lt;schema name="commandprops" src="schemas/commandprops.xsd" prefix="d2t" /&amp;gt;
    &amp;lt;/doctype&amp;gt;
    
    &amp;lt;doctype name="CommandRoot" extends="Domain"&amp;gt;
    &amp;lt;/doctype&amp;gt;
  &amp;lt;/extension&amp;gt;

&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;in debbuging the class org.nuxeo.ecm.platform.content.template.service.ContentTemplateServiceImpl i noticed that&lt;/P&gt;
&lt;P&gt;the DAM and the collaboration contributions are registred (registredpostContentCreationHandlers.addContribution(descriptor); ) before the call of executePostContentCreationHandlers() , but my contribution is registred after , then is never executed ... what can be the cause ?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 15:03:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/contenttemplateservice-contribution-registred-after-execution-of/m-p/324775#M11776</guid>
      <dc:creator>influence160_</dc:creator>
      <dc:date>2013-01-25T15:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: ContentTemplateService contribution registred after execution of executePostContentCreationHandlers, why ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/contenttemplateservice-contribution-registred-after-execution-of/m-p/324776#M11777</link>
      <description>&lt;P&gt;It is a bug in Nuxeo IDE&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXIDE-188" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXIDE-188&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2013 09:29:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/contenttemplateservice-contribution-registred-after-execution-of/m-p/324776#M11777</guid>
      <dc:creator>influence160_</dc:creator>
      <dc:date>2013-01-31T09:29:05Z</dc:date>
    </item>
  </channel>
</rss>

