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

Do not display two error messages simultaneously on issue page

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.4.1
    • Fix Version/s: 8.7
    • Component/s: Issues, Web
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Step to reproduce

      Get a permalink to an non-existing issue (can be simulate by replacing the key from a real permalink with a non-existing key, both for `issues` & `open` parameters).

      Navigate this link and the issue page will display two messages:

      1. Cannot open selected issue, as it's not part of the initial 1000 loaded issues.
      2. We couldn't find any results matching selected criteria.

      Solution proposal

      Do not display the first error message if the page displays no results (2nd message).

        Attachments

          Activity

            People

            Assignee:
            wouter.admiraal Wouter Admiraal
            Reporter:
            philippe.perrin Philippe Perrin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: