Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1156

ReportPageAccessController throws an error when creating a page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.7, 2.2.0
    • None
    • None
    • None
    • 4.5 M8

      Create a page

      In logs there is many errors on ReportPageAccessController

      org.ametys.plugins.repository.UnknownAmetysObjectException: There's no object at path ametys-internal:zones from path /ametys-internal:sites/catalog/ametys-internal:sitemaps/fr/autre-doc
      	at org.ametys.plugins.repository.jcr.TraversableAmetysObjectHelper.getChild(TraversableAmetysObjectHelper.java:151)
      	at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObjectFactory.getChild(DefaultTraversableAmetysObjectFactory.java:51)
      	at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObject.getChild(DefaultTraversableAmetysObject.java:71)
      	at org.ametys.web.repository.page.jcr.DefaultPage.getZone(DefaultPage.java:432)
      	at org.ametys.web.repository.page.jcr.DefaultPage.getZone(DefaultPage.java:1)
      	at org.ametys.plugins.workspaces.project.rights.accesscontroller.ReportsPageAccessController.isReportPage(ReportsPageAccessController.java:182)
      	at org.ametys.plugins.workspaces.project.rights.accesscontroller.ReportsPageAccessController.isSupported(ReportsPageAccessController.java:57)
      	at org.ametys.core.right.RightManager._getAccessResults(RightManager.java:431)
      	at org.ametys.core.right.RightManager._hasRightOrRead(RightManager.java:347)
      	at org.ametys.core.right.RightManager._hasRight(RightManager.java:323)
      	at org.ametys.core.right.RightManager.hasRight(RightManager.java:289)
      

            ggouin Guillaume Gouin
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: