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

The broken links report should list the pages redirects to pages that no longer exist

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.7.3
    • Fix Version/s: 4.LATER
    • Component/s: Plugin : Web
    • Labels:
      None
    • Internal review:
      2 - Long term
    • Estimation:
      2 - Normal

      Description

      The error is visible in the logs :

      2016-01-26 01:13:49,648 ERROR [org.ametys.web.synchronization.SynchronizeComponent] (LivePopulator;/_admin/plugins/core/administrator/config/set) Page 'vos-contacts-a-l-istia' redirects to an unexisting page 'page://b927a7ea-f710-45a3-8371-c78886ef9100'
      org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://b927a7ea-f710-45a3-8371-c78886ef9100
      	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:239)
      	at org.ametys.web.synchronization.SynchronizeComponent._isLinkPageValid(SynchronizeComponent.java:263)
      	at org.ametys.web.synchronization.SynchronizeComponent.isPageValid(SynchronizeComponent.java:161)
      	at org.ametys.web.live.SitePopulator._populate(SitePopulator.java:350)
      	at org.ametys.web.live.SitePopulator._cloneSitemaps(SitePopulator.java:320)
      	at org.ametys.web.live.SitePopulator._populate(SitePopulator.java:142)
      	at org.ametys.web.live.SitePopulator.populate(SitePopulator.java:103)
      	at org.ametys.web.live.SitesLivePopulator.populate(SitesLivePopulator.java:70)
      	at org.ametys.web.live.RebuildLiveComponent.rebuildLiveWorkspace(RebuildLiveComponent.java:105)
      	at org.ametys.web.live.RebuildLiveWorkspaceTimerTask.run(RebuildLiveWorkspaceTimerTask.java:194)
      	at java.util.TimerThread.mainLoop(Timer.java:555)
      	at java.util.TimerThread.run(Timer.java:505)
      Caused by: javax.jcr.ItemNotFoundException: b927a7ea-f710-45a3-8371-c78886ef9100
      	at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384)
      	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
      	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
      	at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:536)
      	at org.apache.jackrabbit.core.SessionImpl.getNodeByIdentifier(SessionImpl.java:1100)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:167)
      	... 15 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lperier Laurence Perier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: