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

Error in logs when the node '/ametys:plugins/userdirectory' was not still created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.0
    • None
    • None
    • 4.1 M6

      org.ametys.plugins.userdirectory.rights.UserDirectoryContentAccessController._convertWorkspaceToRootRightContexts(Set<Object>) should catch the exception and return null.

      org.ametys.plugins.repository.UnknownAmetysObjectException: Node '/ametys:plugins/userdirectory' is missing
          at org.ametys.plugins.userdirectory.UserDirectoryHelper.getUserDirectoryRootContent(UserDirectoryHelper.java:78)
          at org.ametys.plugins.userdirectory.UserDirectoryHelper.getUserDirectoryRootContent(UserDirectoryHelper.java:56)
          at org.ametys.plugins.userdirectory.rights.UserDirectoryContentAccessController._convertWorkspaceToRootRightContexts(UserDirectoryContentAccessController.java:135)
          at org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController._hasUserAnyPermissionOnWorkspace(AbstractProfileStorageBasedAccessController.java:387)
          at org.ametys.plugins.core.impl.right.AbstractProfileStorageBasedAccessController.hasUserAnyPermissionOnWorkspace(AbstractProfileStorageBasedAccessController.java:375)
          at org.ametys.core.right.RightManager._hasRightOrRead(RightManager.java:396)
          at org.ametys.core.right.RightManager._hasRightOrRead(RightManager.java:339)
          at org.ametys.core.right.RightManager._hasRight(RightManager.java:332)
          at org.ametys.core.right.RightManager.hasRight(RightManager.java:298)
          at org.ametys.core.ui.StaticFileImportsClientSideElement.hasRight(StaticFileImportsClientSideElement.java:238)
          at org.ametys.core.ui.StaticFileImportsClientSideElement.getScripts(StaticFileImportsClientSideElement.java:276)
          at org.ametys.core.ui.StaticFileImportsClientSideElement.getScripts(StaticFileImportsClientSideElement.java:263)

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

              Created:
              Updated:
              Resolved: