Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8950

NPE in hasAdminRights of XWikiCachingRightService when context.getDoc() is null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0-milestone-1, 4.5.2
    • Fix Version/s: 5.0-milestone-2
    • Component/s: Security
    • Labels:
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      This is probably bad to call it in such situation, but the old implementation support it by calling hasWikiAdminRights(), so let the bridge do so.

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: