Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.3.4
-
None
-
Unknown
-
N/A
-
N/A
-
Description
The user name of the comment for an answer is not displayed due to the error "Failed to display the user name".
Steps to reproduce the error:
- Run the XWiki instance on localhost
- Install Forums application 2.2.3
- Create a forum
- Add an answer
- Add a comment to the answer
Here is the log on the console:
2022-12-04 01:56:24,630 [qtp2619171-572 - http://localhost:8080/xwiki/bin/view/Forums/testwithoutspaces/testwithoutspaces/] WARN c.x.x.a.XWiki - Failed to access document [html clean="false" wiki="false" <ul class="users"><li class="user" data-reference="xwiki:XWiki.Admin"><img class="user-avatar" src="/xwiki/bin/skin/resources/icons/xwiki/noavatar.png?cache-version=1669718818000" alt="Administrator" /><a class="user-name" href="/xwiki/bin/view/XWiki/Admin">Administrator</a></li></ul>
/html]. Root reason: [XWikiException: Error number 2 in 0: No wiki with id \\{{html clean="false" wiki="false"}} <ul class="users"><li class="user" data-reference="xwiki could be found]
2022-12-04 01:56:24,669 [qtp2619171-572 - http://localhost:8080/xwiki/bin/view/Forums/testwithoutspaces/testwithoutspaces/] WARN c.x.x.XWiki - Failed to display the user name of [html clean="false" wiki="false" <ul class="users"><li class="user" data-reference="xwiki:XWiki.Admin"><img class="user-avatar" src="/xwiki/bin/skin/resources/icons/xwiki/noavatar.png?cache-version=1669718818000" alt="Administrator" /><a class="user-name" href="/xwiki/bin/view/XWiki/Admin">Administrator</a></li></ul>
/html]. Root cause is [XWikiException: Error number 2 in 0: No wiki with id \\{{html clean="false" wiki="false"}} <ul class="users"><li class="user" data-reference="xwiki could be found]. Falling back on the user id.