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

Error while viewing a content to restore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.13, 4.6.0
    • 4.5.12, 4.6.0
    • None
    • None
    • 4.6 M9

      Données de demo : erreur lors de la restauration sur une conteneur

      Steps to reproduce

      1. On ODF demo data
      2. Open the organization of the program "Licence Histoire et Géographie"
      3. Select the container "Licence 1 Histoire et Géographie"
      4. Open the workflow history
      5. Click on "Version 1"

      It is associated to the following log:

      Pile d'appels :
      org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:187:109
      at org.apache.cocoon.ProcessingException#throwLocated:113
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:122
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.Cocoon#process:699
      at org.ametys.runtime.servlet.RuntimeServlet#service:580
      at javax.servlet.http.HttpServlet#service:741
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:231
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:166
      at org.apache.tomcat.websocket.server.WsFilter#doFilter:53
      at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:193
      at org.apache.catalina.core.ApplicationFilterChain#doFilter:166
      at org.apache.catalina.core.StandardWrapperValve#invoke:202
      at org.apache.catalina.core.StandardContextValve#invoke:96
      at org.apache.catalina.authenticator.AuthenticatorBase#invoke:541
      at org.apache.catalina.core.StandardHostValve#invoke:139
      at org.apache.catalina.valves.ErrorReportValve#invoke:92
      at org.apache.catalina.valves.AbstractAccessLogValve#invoke:688
      at org.apache.catalina.core.StandardEngineValve#invoke:74
      at org.apache.catalina.connector.CoyoteAdapter#service:343
      at org.apache.coyote.http11.Http11Processor#service:375
      at org.apache.coyote.AbstractProcessorLight#process:65
      at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:868
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1639
      at org.apache.tomcat.util.net.SocketProcessorBase#run:49
      at java.base/java.util.concurrent.ThreadPoolExecutor#runWorker:1136
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker#run:635
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61
      at java.base/java.lang.Thread#run:833
      Caused by: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no revision : undefined
      at org.ametys.plugins.repository.jcr.DefaultAmetysObject#switchToRevision:188
      at org.ametys.cms.content.GetContentAction#act:105
      at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:125
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
      at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
      ... 34 more
      Caused by: javax.jcr.version.VersionException: Version {}undefined does not exist.
      at org.apache.jackrabbit.core.version.InternalVersionHistoryImpl#getVersion:277
      at org.apache.jackrabbit.core.version.VersionHistoryImpl#getVersion:138
      at org.ametys.plugins.repository.jcr.DefaultAmetysObject#switchToRevision:183
      ... 46 more 

            bmaurel Bérénice Maurel
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: