Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-4525

A content is corrupted after the user has unarchived it while she had no right to the application context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4.2, 3.5
    • 3.4.1
    • None
    • None

      • the content is archived
      • an user has the right "archived" and "desarchived" on some pages of the sitemap
      • the user does not have these rights on the context "Application"
      • the user has still managed to unarchive
      • the content is still in the state "archived" but not accessible by the research in the archives.
      • Unable to update it or advance their workflow
      2013-05-15 16:53:52,192 ERROR [sitemap] (http-8080-22;/cms/plugins/core/servercomm/messages.xml) Can not dispatch request '2' : 'cms' '/archives/unarchive/9' '{contentId=defaultWebContent://80ee9c3d-1789-468e-a9fa-043c893e3bc3}'
      org.apache.cocoon.util.location.LocatedException: Can not dispatch request '2' : 'cms' '/archives/unarchive/9' '{contentId=defaultWebContent://80ee9c3d-1789-468e-a9fa-043c893e3bc3}'
      	at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:155)
      	at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:81)
      ....
      	at java.lang.Thread.run(Thread.java:722)
      Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/cms/archives/unarchive/9?contentId=defaultWebContent://80ee9c3d-1789-468e-a9fa-043c893e3bc3&
      	at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:253)
      	at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:128)
      	... 61 more
      Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/cms/archives/unarchive/9?contentId=defaultWebContent://80ee9c3d-1789-468e-a9fa-043c893e3bc3&
      org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:143:82
      ...
      	at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:125)
      	... 61 more
      Caused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:143:82
      ...
      	... 69 more
      Caused by: java.lang.Exception: Invalid action: '9' for the workflow of instance id: '1076' / content ''/ametys-internal:sites/default/ametys-internal:contents/les-enqetes-article' (defaultWebContent://80ee9c3d-1789-468e-a9fa-043c893e3bc3)' / current step '9999' / user 'ffauquie'
      	at org.ametys.plugins.workflow.cocoon.AbstractWorkflowAction._processInvalidActionException(AbstractWorkflowAction.java:129)
      	at org.ametys.plugins.workflow.cocoon.AbstractWorkflowAction.act(AbstractWorkflowAction.java:62)
      ...
      	... 79 more
      Caused by: com.opensymphony.workflow.InvalidActionException: Action 9 is invalid
      	at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:562)
      	at org.ametys.plugins.workflow.Workflow.doAction(Workflow.java:249)
      	at org.ametys.plugins.workflow.cocoon.WorkflowAction._act(WorkflowAction.java:45)
      	at org.ametys.cms.workflow.ContentWorkflowAction._act(ContentWorkflowAction.java:74)
      	at org.ametys.cms.workflow.UnarchiveContentAction._act(UnarchiveContentAction.java:99)
      	at org.ametys.plugins.workflow.cocoon.AbstractWorkflowAction.act(AbstractWorkflowAction.java:58)
      	... 92 more
      

            ngavalda Nicolas Gavalda (Inactive)
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: