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

Alias tool is empty when contains an alias to a deleted page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.1.2, 3.2.1
    • None
    • None
    • None

      How to reproduce

      • Create an alias to a page A
      • Delete page A
      • Open alias tool

      Error in logs :

      Caused by: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://65d88343-a648-461a-a02a-5dba95607bb2
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:178)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:128)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:117)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:58)
      	at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:241)
      	at org.ametys.web.alias.AliasGenerator.saxAlias(AliasGenerator.java:82)
      	at org.ametys.web.alias.AliasListGenerator.generate(AliasListGenerator.java:48)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
      	... 59 more
      Caused by: javax.jcr.ItemNotFoundException: 65d88343-a648-461a-a02a-5dba95607bb2
      	at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:354)
      	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:298)
      	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:562)
      	at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:575)
      	at org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:544)
      	at org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:855)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:167)
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: