Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.1 RC1
-
None
Description
xwiki.getUserName("userdoc") should return the "firstname lastname" name of the user stored in the "userdoc" document, or the same string if there is no user in that document, or the document does not exist. However, if the empty string is passed as an argument, "WebHome" is returned instead of the empty string.