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

Editing appplication branches fails after project deletion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.9.5, 8.2
    • Labels:
      None
    • Edition:
      Enterprise
    • Production Notes:
      None

      Description

      If an application branch contains a project branch and the project is deleted, it's no longer possible to edit the application branch.
      Steps to reproduce:

      • Create project p1 and p2
      • Create long lived branch b1 in p1
      • Create an application A with project P1 and P2
      • Create a branch in application A, containing b1
      • Delete project P
      • Try to edit the branches of application A -> it should fail.

      The call to /api/applications/show returns HTTP code 500.
      The bug was unintentionally fixed in 8.2 during a code refactoring.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: