mirror of
https://github.com/DependencyTrack/dependency-track.git
synced 2025-10-19 16:03:19 +00:00
Fix exception when deleting projects that are associated with policies
Fixes #1852 Signed-off-by: nscuro <nscuro@protonmail.com>
This commit is contained in:
parent
1933eab2e2
commit
99d48e8c46
4 changed files with 69 additions and 0 deletions
|
@ -605,6 +605,7 @@ final class ProjectQueryManager extends QueryManager implements IQueryManager {
|
|||
deleteBoms(project);
|
||||
deleteVexs(project);
|
||||
removeProjectFromNotificationRules(project);
|
||||
removeProjectFromPolicies(project);
|
||||
delete(project.getProperties());
|
||||
delete(getAllBoms(project));
|
||||
delete(project.getChildren());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue