AnsweredAssumed Answered

Rules not triggering for new objects with no content

Question asked by tarapenner on Jan 8, 2013
Latest reply on Jun 29, 2015 by athar_mcj
Hello,

I'm hoping that someone could point me in the right direction for an issue that I'm having with an upgraded installation of Alfresco Community 4.2.c.

What's happening is that the user is creating an object of a custom type in Alfresco which has no content. Upon creation, a series of rules are executed which create content (based on the custom properties), rename the document, and move it other folders.

The problem I'm having is that the rules are not being triggered when the content is created. I believe this is related to the fact that the objects are created with a size of "NaN GB". As soon as I edit and save the properties, the size becomes 0 GB and the rules execute.

The only error I've found in the log is below - not sure if it's related.

Any help would be greatly appreciated! This issue has only cropped up since upgrading to 4.2.

Thanks in advance!

Tara


16:46:38,669 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 00080001 No content found for file: /alfresco/site-data/module-deployments/Alfresco Portlet Extension.xml
org.springframework.extensions.webscripts.WebScriptException: 00080001 No content found for file: /alfresco/site-data/module-deployments/Alfresco Portlet Extension.xml
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore$2.doWork(ADMRemoteStore.java:238)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore$2.doWork(ADMRemoteStore.java:220)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:529)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.getDocument(ADMRemoteStore.java:219)
   at org.alfresco.repo.web.scripts.bean.BaseRemoteStore.execute(BaseRemoteStore.java:283)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:533)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:276)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)

Outcomes