XWiki Platform
  1. XWiki Platform
  2. XWIKI-7018

XWikiContext#getUserReference() does not always return null for guest user

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2 RC1, 3.1.1
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:
      XWIKI-11230User and Group resolver should handle guest user
      XWIKI-8306Wiki based ConfigurationSources#getKeys() return null
      XWIKI-6067BaseCollection.getXClassReference() returns null for an XClass
      XWIKI-1221XWikiAuthService checkAuth with username/password params does not return the user on success
      XWIKI-1414NPE in LDAPAuthServiceImpl.java - context.getMessageTool() returns null
      XWIKI-6191String based user related API on Document can return null
      XWIKI-7434A user can have less rights than guest
      XWIKI-8951Support null user and null entity in the new security authorization module
      XWIKI-4078Wysiwyg editor 2 does not handle well properties that return null
      XWIKI-10401Make sure wiki module API always return a descriptor for main wiki

      Description

      If "XWiki.XWikiGuest" is set using setUser() a valid reference on user XWiki.XWikiGuest will be stored in the context and returned by getUserReference()

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Thomas Mortagne
            Reporter:
            Thomas Mortagne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: