We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06fe237 commit 350b850Copy full SHA for 350b850
src/main/java/org/dependencytrack/persistence/QueryManager.java
@@ -1547,6 +1547,10 @@ public void recursivelyDeleteTeam(Team team) {
1547
final Query<?> aclDeleteQuery = pm.newQuery(JDOQuery.SQL_QUERY_LANGUAGE, """
1548
DELETE FROM "PROJECT_ACCESS_TEAMS" WHERE "PROJECT_ACCESS_TEAMS"."TEAM_ID" = ?""");
1549
executeAndCloseWithArray(aclDeleteQuery, team.getId());
1550
+
1551
+ final Query<?> notificationRuleQuery = pm.newQuery(JDOQuery.SQL_QUERY_LANGUAGE, """
1552
+ DELETE FROM "NOTIFICATIONRULE_TEAMS" WHERE "NOTIFICATIONRULE_TEAMS"."TEAM_ID" = ?""");
1553
+ executeAndCloseWithArray(notificationRuleQuery, team.getId());
1554
}
1555
1556
pm.deletePersistent(team);
0 commit comments