Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.7.1, 3.0
-
Fix Version/s: 4.5.1
-
Component/s: Web - Templates & Resources
-
Labels:
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
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
- is duplicated by
-
XWIKI-8676 The workspace users livetable displays the user IDs with a duplicated wiki name segment.
-
- Closed
-