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

When I cannot set a directory root => no user side error messag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Labels:
      None
    • Environment:
      2.1.?

      Description

      When I try to set the directory root, I have the following error in the logs

      Caused by: org.ametys.plugins.repository.UnknownAmetysObjectException: There's no node for id page://e3aba3d8-7ebd-4012-be0a-18807db644a6
      	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:58)
      	at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:310)
      	at org.ametys.plugins.userdirectory.UserDirectoryPageHandler$$Lambda$230/1462195030.apply(Unknown Source)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      	at org.ametys.plugins.userdirectory.UserDirectoryPageHandler.getUserDirectoryRootPages(UserDirectoryPageHandler.java:198)
      	at org.ametys.plugins.userdirectory.UserDirectoryPageHandler.getUserDirectoryRootPage(UserDirectoryPageHandler.java:144)
      	at org.ametys.plugins.userdirectory.clientsideelement.SetUserDirectoryRootClientSideElement.getSupportedContentTypes(SetUserDirectoryRootClientSideElement.java:190)
      	... 102 more
      

      This issue is that on the client side, I have no error message...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              llopez Laure Lopez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: