SURYAS1306 opened a new pull request, #12611: URL: https://github.com/apache/cloudstack/pull/12611
### Description Backport of #12607 to the 4.22 branch. This change fixes an issue where account deletion was blocked if the account was listed as an administrator of projects that were already removed (`removed` is not null). The fix ensures that only active projects are considered when checking whether an account manages projects, allowing deletion when only deleted projects are associated. This includes the same defensive check and unit test added in the main branch. Fixes #12601 --- Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [x] Test (unit test code) --- Bug Severity - [x] Minor -- 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]
