Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18893

JSON error prevents the 'Edit' popover icon to be displayed in some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.6
    • Fix Version/s: 13.7, 13.8-rc-1
    • Component/s: Live Data
    • Labels:
      None
    • Environment:
      Chrome 92, using an instance of XWiki 13.6 on PostgreSQL 13, Tomcat, Docker
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Create a Docker instance of XWiki 13.6 (I've reproduced the issue only on Docker apparently)
      2. Login as Admin
      3. Go to a Live Data table with entries containing a link (e.g.
        <server>bin/view/Sandbox/?viewer=children

        or

        <server>/bin/view/WikiManager/
      4. Mouse hover over an editable link of an entry (e.g. from 'Title' column of Children of Sandbox Live Data table)

      EXPECTED RESULTS

      The popover 'Edit' button is displayed properly with its icon.

      ACTUAL RESULTS

      The icon is missing from the 'Edit' popover button. No error in XWiki console.

      However, in browser's console there are some JSON related errors:

      Uncaught SyntaxError: Unexpected token '<'
      GET http://localhost:1113/xwiki/rest/wikis/xwiki/iconThemes/icons?name=edit 404
      SyntaxError: Unexpected token < in JSON at position 0
      (anonymous)	@	XWikiIcon.vue:100
      ...
      

      Please see the attached screenshots.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mleduc Manuel Leduc
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: