Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3527

Error on rights assignment on content search context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.4.0
    • None
    • None
    • None
    • 4.4
    • 4.4 M7

      How to reproduce : 

      1- On CMS back office with demo, go to rights assignments. 

      2 - Select context "Site Content" and perform a search. 

      3 - Select a content in search result, for instance a news. 

      4 - For connected user line, click on admin column to change its rights. 

      5 - Following error is displayed :

      java.lang.NullPointerException
          at java.base/java.util.Objects.requireNonNull(Objects.java:221)
          at java.base/java.util.Optional.<init>(Optional.java:107)
          at java.base/java.util.Optional.of(Optional.java:120)
          at org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement._getInheritedAssignmentForAnyconnected(ProfileAssignmentsToolClientSideElement.java:527)
          at org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement.getInheritedAssignment(ProfileAssignmentsToolClientSideElement.java:469)

            raphael Raphaël Franchet
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: