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

Deleting project should make sure all components are removed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: None
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Deleting a project find components based on what's in the PROJECT_BRANCHES table.

      Sometimes the DB might not be in a consistent state (which might be the reason why the project is being deleted, to be recreated) and some branches/components in the COMPONENTS table don't map to a row in PROJECT_BRANCHES.

      For example, if the analysis of a branch fails in the compute engine, an entry will be created in COMPONENTS (when submitting the report), and nothing in PROJECT_BRANCHES.

        Attachments

          Activity

            People

            Assignee:
            duarte.meneses Duarte Meneses
            Reporter:
            duarte.meneses Duarte Meneses
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: