Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Unable to delete CaC projects if Git Repo unavailable

Open SeanStanway-Octopus opened this issue 1 year ago • 2 comments

Severity

1 customer reported, can be recreated

Version

2024.2.9313

Latest Version

None

What happened?

User deleted a repository for their config-as-code project, and when they tried to remove the project it stated that there was an uninitialised branch, which once it was past this error the process then errored on "missing resource". Engineering investigated and found that we are still looking for the project summary from GIT, even though this is available in the database. This can be changed to avoid this problem.

Reproduction

  1. Have a version controlled project
  2. Delete the repository that the project is based on
  3. Attempt to delete the project

Error and Stacktrace

2024-08-27 09:17:39.5146      1     10 ERROR  Error getting summary for { Id: "Projects-285"...

More Information

Internal slack link Internal ticket link

Workaround

No response

SeanStanway-Octopus avatar Aug 27 '24 14:08 SeanStanway-Octopus