Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failure to delete PolicyViolations when they have an audit trail #3228

Merged
merged 2 commits into from Nov 24, 2023

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Nov 24, 2023

Description

Fixes a failure to delete PolicyViolations when they have an audit trail (analysis, comments etc.).

Addressed Issue

Fixes #3226

Additional Details

N/A

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro nscuro added this to the 4.10 milestone Nov 24, 2023
@nscuro nscuro merged commit 09e8111 into DependencyTrack:master Nov 24, 2023
9 checks passed
@nscuro nscuro deleted the issue-3226 branch November 24, 2023 11:38
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DB error in 4.9.1 (Cannot insert the value NULL into column 'POLICYVIOLATION_ID')
1 participant