Uploaded image for project: 'Forum Application'
  1. Forum Application
  2. XAFORUM-264

"Failed to display the user name" error on a comment for an answer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.5
    • 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:

      1. Run the XWiki instance on localhost
      2. Install Forums application 2.2.3
      3. Create a forum
      4. Add an answer
      5. 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.

      Attachments

        Activity

          People

            acotiuga Alex Cotiugă
            shirahara Suguru Hirahara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: