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

Fail to display project homepage when its quality gate has been removed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Quality Gate
    • Labels:

      Description

      Use case

      • Analyse a project
      • Create quality gate
      • Associate the project to the quality gate
      • Delete the quality gate

      When trying to access to the project hompeage, it's failing with "No quality gate has been found for id XXX".

      Investigation

      When deleting a quality gate, the projects associations are not removed (the properties table still contains entries on key "sonar.qualitygate" linked to this quality gate).
      One way to fix this issue would be to remove usage of the setting and use a join table (see https://jira.sonarsource.com/browse/SONAR-10173)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: