Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.1.3
-
Solaris 12, Java 1.7.0_09, XE 4.1.3
-
Unit
-
Easy
-
N/A
-
N/A
-
Description
Along with the display issue noted in XWIKI-7897, if a livetable tries to use a list of users property on some class, with a filterable 'list' type, the option values in the generated html select are correct (i.e. "XWiki.<user>") but the displayed selections are all '$l10n_value'. I suspect this is because the livetable macro uses
#set($map = $class.get($colname).getMapValues()) #foreach($listitem in $list) #set ($l10n_key = "${propClassName}_${colname}_${listitem}") #set ($l10n_value = $msg.get($l10n_key)) #if ($l10n_value == $l10n_key) #set ($l10n_value = $map.get($listitem).getValue()) #end #end
but the Users.java class simply returns a new HashMap,
so $l10n_value is set to an empty value.
Attachments
Issue Links
- is related to
-
XWIKI-7897 Livetable should link to user profiles when displaying a column of type Users
- Closed