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

User reference serializer doesn't serialize the current user reference when the current user is superadmin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.6-rc-1, 14.10.14, 15.5.1
    • 12.2
    • User
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      When calling UserReferenceSerializer<String> with CurrentUserReference.INSTANCE and the current user is superadmin, the serializer fails with an illegal argument exception with the message "Only DocumentUserReference are handled".

      I've unfortunately no idea if this leads to any user-visible consequences at the moment.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: