Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9874

Http errors not correctly handled when loading the web app

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.5
    • Fix Version/s: 6.6-M3, 6.6
    • Component/s: Web
    • Labels:

      Description

      Currently if there is an http error while loading the web app there is a big chance that a JS error will be raised, resulting in an infinite spinner displayed to the user. The user should either be redirect (for 401 status) or have an error message.

      Here is an exemple of how to reproduce the bug :

      • in admin settings, Security section, switch on 'Force user authentication'
      • analyse one project, copy-paste the URL of the project homepage
      • log-out
      • try to navigate to the URL you copy-pasted -> infinite loading spinner
      • hitting refresh at this point does display the login form afterwards

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregoire.aubert Gregoire Aubert
              Reporter:
              gregoire.aubert Gregoire Aubert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: