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

    • Bug
    • Resolution: Fixed
    • Major
    • 13.7, 13.8-rc-1
    • 13.6
    • Live Data
    • None
    • Chrome 92, using an instance of XWiki 13.6 on PostgreSQL 13, Tomcat, Docker
    • Unknown
    • N/A
    • N/A

    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

        1. Edit_popover_Jetty_local.png
          37 kB
          Ilie Andriuta
        2. Edit_popover_Tomcat_Docker.png
          109 kB
          Ilie Andriuta
        3. Sandbox_Edit_popover_Tomcat_Docker.png
          128 kB
          Ilie Andriuta

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: