<?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 with content rules in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168658#M122103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem that I don't know how to resolve and to be afraid that it is a bug of the tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a space template in Data dictionary whit content rules that executes an script for all the inbound content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I create an space from that template, and I add content…the script don't execute!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And when I go to edit the rule for view their parameters, I found this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;16:58:30,140 ERROR [[localhost].[/alfresco].[Faces Servlet]] Servlet.service() para servlet Faces Servlet lanzÃ³ excepciÃ³n&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.web.bean.actions.handlers.ScriptHandler.prepareForEdit(ScriptHandler.java:68)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.web.bean.rules.EditRuleWizard.init(EditRuleWizard.java:133)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.web.bean.wizard.WizardManager.setCurrentWizard(WizardManager.java:123)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.web.app.AlfrescoNavigationHandler.handleWizardOpen(AlfrescoNavigationHandler.java:636)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.web.app.AlfrescoNavigationHandler.handleNavigation(AlfrescoNavigationHandler.java:118)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:82)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at javax.faces.component.UICommand.broadcast(UICommand.java:109)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at java.lang.Thread.run(Thread.java:595)&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;/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;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;/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;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;/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;BR /&gt;&lt;SPAN&gt;I'm using alfresco 2.1 enterprise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me!! and sorry for my english.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2008 15:21:00 GMT</pubDate>
    <dc:creator>ajv</dc:creator>
    <dc:date>2008-04-23T15:21:00Z</dc:date>
    <item>
      <title>Problem with content rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168658#M122103</link>
      <description>Hi,I have a problem that I don't know how to resolve and to be afraid that it is a bug of the tool.I have a space template in Data dictionary whit content rules that executes an script for all the inbound content.When I create an space from that template, and I add content…the script don't execute!A</description>
      <pubDate>Wed, 23 Apr 2008 15:21:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168658#M122103</guid>
      <dc:creator>ajv</dc:creator>
      <dc:date>2008-04-23T15:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with content rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168659#M122104</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;I have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I exported a space template which contains a rule that executes a script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then re-import the package (*.acp). The space and the rule are imported but when I try to edit the rule, the exception above occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Alfresco 4.2.c.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 10:53:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168659#M122104</guid>
      <dc:creator>stondini</dc:creator>
      <dc:date>2013-05-29T10:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with content rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168660#M122105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;that is because alfresco is not able to find the script file related to that rule.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to remove that rule during export and import script file in new setup and create rule again after import of space template in new setup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 12:04:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168660#M122105</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-05-29T12:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with content rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168661#M122106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Mits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the script exists in the dictionary/scripts space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My goal is to import the script and the space (with its rule) during the bootstrap process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't find an example to do that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 13:18:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-content-rules/m-p/168661#M122106</guid>
      <dc:creator>stondini</dc:creator>
      <dc:date>2013-05-29T13:18:16Z</dc:date>
    </item>
  </channel>
</rss>

