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.

    Details

    • keywords:
      avatar macro inline
    • Difficulty:
      Trivial
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: