klesh opened a new issue, #5532: URL: https://github.com/apache/incubator-devlake/issues/5532
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened Deleting a scope referenced by a bp, the API returned 409 error, but related records get deleted.    ### What do you expect to happen All data of the scope should not be touched when deletion failed ### How to reproduce 1. add scope to a project 2. collect data for the project 3. delete scope on connection page 4. check database ### Anything else _No response_ ### Version b40efa574abbe0530d3cf623cbddb5a3e34bcc7f ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
