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

UserReference cannot be converted to DocumentReference in Velocity

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 14.10.9, 15.4-rc-1
    • 12.2
    • User
    • None
    • Unit, Integration
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      In Velocity, call any API that expects a DocumentReference with a UserReference.

      Expected result:

      The UserReference is converted to a DocumentReference.

      Actual result:

      The call fails as the conversion fails. This is because the DocumentReferenceConverter calls the UserReferenceConverter to convert to a DocumentReference but this hasn't been implemented in the UserReferenceConverter.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: