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

Users avatars are displayed as HTML code on "User Directory" when using LiveData macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 13.1-rc-1, 12.10.5
    • 13.0, 12.10.4
    • Live Data
    • None
    • Windows 10 Pro 64 bit, Chrome 88, Firefox 85, using a Docker instance of XWiki 12.10.4 on PostgreSQL 13, Tomcat
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Go to Drawer > User Index
      2. Use ?useLiveData=true in URL
      3. Observe the Picture column

      EXPECTED RESULTS

      The users' avatars are properly displayed as pictures.

      ACTUAL RESULTS

      Some HTML code is displayed instead, like:

      <img src='http://localhost:8080/bin/download/XWiki/U1/Avatar.jpg?width=120&#38;height=120&#38;keepAspectRatio=true&#38;rev=1.1' alt='User One' title='User One'/>

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: