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

Added migration to remove NEW_SUBMISSION events without a submission #3658

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

wes-otf
Copy link
Contributor

@wes-otf wes-otf commented Nov 15, 2023

Closes #3442.

This small migration addition compliments #3445 as it will remove any previous NEW_SUBMISSION events that belong to submissions that no longer exist. This will allow for the removal of applicants that don't have any active submission, but can't be deleted due to the The object you are trying to delete is used somewhere... error.

Cheers!

Copy link
Member

@sandeepsajan0 sandeepsajan0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
I tested it locally, working great. Thanks @wes-otf

@frjo frjo added Type: Maintenance Type: Patch Mini change, used in release drafter labels Nov 20, 2023
@frjo frjo merged commit 517b8c0 into main Nov 23, 2023
@theskumar theskumar deleted the fix/remove-events-from-deleted-subissions branch November 23, 2023 07:09
wes-otf added a commit that referenced this pull request May 7, 2024
…3658)

Closes #3442. 

This small migration addition compliments #3445 as it will remove any
previous `NEW_SUBMISSION` events that belong to submissions that no
longer exist. This will allow for the removal of applicants that don't
have any active submission, but can't be deleted due to the `The object
you are trying to delete is used somewhere...` error.

Cheers!
wes-otf added a commit that referenced this pull request May 8, 2024
…3658)

Closes #3442. 

This small migration addition compliments #3445 as it will remove any
previous `NEW_SUBMISSION` events that belong to submissions that no
longer exist. This will allow for the removal of applicants that don't
have any active submission, but can't be deleted due to the `The object
you are trying to delete is used somewhere...` error.

Cheers!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Type: Patch Mini change, used in release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not able to delete the user from wagtail admin
3 participants