Deletion of content under activation makes activation fail
----------------------------------------------------------

                 Key: MAGNOLIA-4369
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4369
             Project: Magnolia
          Issue Type: Bug
      Security Level: Public
          Components: activation, workflow
    Affects Versions: 4.4.5
            Reporter: Jan Haderka
            Assignee: Philipp Bärfuss


when content is scheduled for activation in the future and is deleted in the 
mean time, scheduled (de)activation should be canceled or at the very least 
fail gracefully. Currently it ends with stacktrace similar to below and whether 
workflow is terminated or not depends only on the workflow itself.
{noformat}

2012-03-27 10:58:04,994 ERROR info.magnolia.cms.core.DefaultContent             
: Failed to get handle: af5a5c41-3bc4-433d-bb0d-8c05187b1db3: the item does not 
exist anymore
javax.jcr.InvalidItemStateException: af5a5c41-3bc4-433d-bb0d-8c05187b1db3: the 
item does not exist anymore
        at org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:142)
        at org.apache.jackrabbit.core.ItemImpl.getPath(ItemImpl.java:1304)
        at 
info.magnolia.cms.core.DefaultContent.getHandle(DefaultContent.java:359)
        at 
info.magnolia.cms.core.DefaultContent.newNodeDataInstance(DefaultContent.java:215)
        at 
info.magnolia.cms.core.AbstractContent.getNodeData(AbstractContent.java:127)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore.deserializeExpressionAsXml(JCRExpressionStore.java:280)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore.access$100(JCRExpressionStore.java:79)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:357)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:366)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:366)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:366)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:366)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:366)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:366)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:366)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.fetchNext(JCRExpressionStore.java:360)
        at 
info.magnolia.module.workflow.jcr.JCRExpressionStore$StoreIterator.next(JCRExpressionStore.java:383)
        at 
openwfe.org.engine.impl.expool.SimpleExpressionPool.reschedule(SimpleExpressionPool.java:1318)
        at 
openwfe.org.engine.impl.expool.SimpleExpressionPool.trigger(SimpleExpressionPool.java:1393)
        at openwfe.org.time.Scheduler$Entry.trigger(Scheduler.java:490)
        at openwfe.org.time.Scheduler.wakeup(Scheduler.java:461)
        at openwfe.org.time.Scheduler$SchedulerThread.run(Scheduler.java:577)
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to