AnsweredAssumed Answered

Error generating a rendition because of locked index

Question asked by pyppe on Nov 10, 2009
Latest reply on Nov 27, 2009 by scottf
Hi.

We've got a Web Form for newsletters and a newsletter-index.xsl template for generating a index of all newsletters within the directory. The problem is that whenever someone creates a new newsletter the Alfresco also locks the index.html (generated by newsletter-index.xsl). Now, when someone else (without Content Manager privileges) tries to add another newsletter, the following error is encountered:

10:25:24,391 User:contribute ERROR [ui.common.Utils] Error generating rendition using newsletter-index.xsl: 10108346 You do not have access to the item at path myproject–contribute–previe
w:/www/avm_webapps/ROOT/newsletters/index.html it is currently locked by another user.
org.alfresco.service.cmr.avm.locking.AVMLockingException: 10108346 You do not have access to the item at path myproject–contribute–preview:/www/avm_webapps/ROOT/newsletters/index.html it is
currently locked by another user.
        at org.alfresco.repo.avm.AVMLockingAwareService.grabLock(AVMLockingAwareService.java:920)
        at org.alfresco.repo.avm.AVMLockingAwareService.createFile(AVMLockingAwareService.java:132)


Any suggestions? Can we somehow skip the locking of these index files?

Outcomes