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

Make it possible to use the UserAvatar Macro without passing a fully quantified username

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2 M1
    • Fix Version/s: 3.2 M3
    • Component/s: Rendering
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      steps to reproduce:

      • login
      • on the main page, add the User Avatar and type your current username
      • Save t he page, and you will get a velocity error
        "org.xwiki.rendering.macro.MacroExecutionException: User [Main.sorinie82] is not registered in this wiki"

      If you go to "my Dashboard" and insert it from there, it will work from that page, but when enabling My Dashboard to be displayed as Main.WebHome, it doesn't work

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              sorinello Sorin Burjan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: