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

Duplicate user when editing the mentions macro in WYSIWYG

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.7, 12.6.2
    • Fix Version/s: 12.8-rc-1
    • Component/s: Mentions
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      See screenshot:

      The reason is that the mentions generated seems to add the wiki prefix (even for local users):

      {{mention reference="xwiki:XWiki.Admin" style="FULL_NAME" anchor="xwiki-XWiki-Admin-zy9u7h"/}} 
      

      Here's the HTML showing the duplicate entry with 2 different references:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mleduc Manuel Leduc
              Reporter:
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: