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

UserReferenceConverter converts a WikiReference to UserReference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.10.5
    • User
    • None
    • Unknown

    Description

      The UserReferenceConverter is implemented to convert anything to a UserReference by resolving the toString value of the given object.
      This behaviour leads to unexpected result like its ability to convert a WikiReference to a UserReference.

      This is problematic since an API might provide methods taking WikiReference and UserReference and velocity will call the one taking a UserReference since it's able to convert the reference to a UserReference.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: