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

Failed to get the list of flavors on Distribution Wizard on Tomcat

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 11.10.2, 12.2, 11.10.4
    • Fix Version/s: 12.3-rc-1, 11.10.5
    • Component/s: REST
    • Environment:
      Windows 10 Pro 64 bit, Edge 18 using a local instance XWiki 11.10.2 on MySQL 5.7, Tomcat 9.0.27
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Configure a fresh XWiki 11.10.2 instance with Tomcat (I tested with Tomcat 9.0.27)
      2. Start the instance
      3. On DW click 'Continue'
      4. Fill the Admin credentials
      5. Click 'Register and login'
      6. Click 'Continue'

      EXPECTED RESULTS

      The flavors are displayed without any errors.

      ACTUAL RESULTS

      An error is displayed on the bottom of the page:

      Connection error. Failed to get the list of flavors.

      In the browser's console, the following error is displayed:

      HTTP400: BAD REQUEST - The request could not be processed by the server due to invalid syntax.
      (XHR)GET - http://localhost:1113/xwiki/rest/jobstatus/flavor%2Fsearch%2Fwiki%3Axwiki

      For the list of flavors to be displayed, a refresh of the page is needed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                iandriuta Ilie Andriuta
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: