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

#resizedUserAvatar macro displays noavatar.png instead of actual user avatar in inline mode.

    XMLWordPrintable

Details

    • avatar macro inline
    • Trivial

    Description

      The #resizedUserAvatar macro, with all it's variants (small/medium/large/UserAvatar), doesn`t display the actual user`s avatar image in inline mode and shows the default noavatar.png instead.

      This is happening because the avatar property is not safely retrieved from velocity, using

      $profileobj.avatar

      instead of

      $profileobj.getProperty('avatar').value

      .

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: