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

Issues with secondary locations don't appear in the snippet view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.9, 7.9.1
    • Fix Version/s: 7.9.2, 8.0
    • Component/s: Web
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      When an issue has secondary locations - not flows - it is often not displayed at all.

      In the case of flows, the issue is always bound to the the last location of the flow, but with secondary locations, the issue is itself the primary location, and the secondary ones are elsewhere.

      We need to add the issue's location as the first location, before the secondary ones, when building the snippets.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jeremy.davis Jeremy Davis
                Reporter:
                jeremy.davis Jeremy Davis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: