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

Double wiki name prefix in group members listings

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      This can be reproduced in a XEM environment, by managing global groups or viewing a local group page.

      The error seems to be caused by some bad JSON generation code in getgroupmembers.vm.

      The following snippet appears twice and is incorrect:

      "$xwiki.getUserName($m, false)#if($hasAdmin || $isAdvancedUser) (#if($wikiname != 'local')$wikiname:#end$m)#end"
      

      The test #if($wikiname != 'local')$wikiname:#end is obviously incorrect and seems unnecessary as $m already contains the fullname of the document(including the wiki name).

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              florin_c Florin Ciubotaru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: