Uploaded image for project: 'User Directory'
  1. User Directory
  2. UD-61

A virtual factory TransitionalPageFactory failed on #hasAmetysObjectForId when the root page does not exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Labels:
      None

      Description

      My Solr index is not up-to-date and returns the id of a user directory page that does not exist anymore

      TransitionalPageFactory#hasAmetysObjectForId returns a exception instead of false

      Caused by: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://ef39b26c-565d-4393-865e-bd9225b8efd3
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:187)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:137)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:126)
      	at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:1)
      	at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:310)
      	at org.ametys.plugins.userdirectory.page.TransitionalPageFactory.hasAmetysObjectForId(TransitionalPageFactory.java:89)
      	at org.ametys.plugins.repository.AmetysObjectResolver.hasAmetysObjectForId(AmetysObjectResolver.java:378)
      	at org.ametys.cms.search.solr.AbstractResponseIterator.hasNext(AbstractResponseIterator.java:63)
      

        Attachments

          Activity

            People

            • Assignee:
              laurence Laurence Aumeunier
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: