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

Ensure self-consent triages are invalidated #2477

Merged
merged 1 commit into from
Nov 17, 2024
Merged

Conversation

thomasleese
Copy link
Contributor

This was missed in d62ed3d to cover the situation where a session has been closed, self-consents have been invalidated and therefore any associated triages must be invalidated too.

If we encounter a similar bug it might be worth refactoring this code to handle the invalidation in the consent model rather than in the controllers.

I also think it's worth adding a feature test for this in the future.

@thomasleese thomasleese enabled auto-merge (rebase) November 17, 2024 21:04
This was missed in d62ed3d to cover the
situation where a session has been closed, self-consents have been
invalidated and therefore any associated triages must be invalidated
too.

If we encounter a similar bug it might be worth refactoring this code to
handle the invalidation in the consent model rather than in the
controllers.

I also think it's worth adding a feature test for this in the future.
@tvararu tvararu temporarily deployed to mavis-pr-2477 November 17, 2024 21:17 Inactive
Copy link

sonarcloud bot commented Nov 17, 2024

@thomasleese thomasleese merged commit 9814652 into main Nov 17, 2024
12 checks passed
@thomasleese thomasleese deleted the fix-triage-bug branch November 17, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants