Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Purging user deletes the associated Census Inaccuracy Investigations - #36657

#36657
Merged
daynew merged 1 commit into
stagingcode-dot-org/code-dot-org:stagingfrom
fnd-1269-delete-census-inaccuracycode-dot-org/code-dot-org:fnd-1269-delete-census-inaccuracyCopy head branch name to clipboard
Sep 10, 2020
Merged

Purging user deletes the associated Census Inaccuracy Investigations#36657
daynew merged 1 commit into
stagingcode-dot-org/code-dot-org:stagingfrom
fnd-1269-delete-census-inaccuracycode-dot-org/code-dot-org:fnd-1269-delete-census-inaccuracyCopy head branch name to clipboard

Conversation

@daynew

@daynew daynew commented Sep 9, 2020

Copy link
Copy Markdown
Member

Bug - Some soft-deleted teacher accounts failed to be purged.
Cause - Deleting the CensusSubmissions associated with the teach account failed because there was still a CensusInaccuracyInvestigation associated with the teacher's CensusSubmission.
Fix - Delete associated CensusInaccuracyInvestigations before deleting the CensusSubmissions.

Links

Testing story

  • Unit test.

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@daynew
daynew requested a review from bencodeorg September 9, 2020 00:10
@daynew
daynew force-pushed the fnd-1269-delete-census-inaccuracy branch from cb6366a to 254ff07 Compare September 9, 2020 00:56

@Hamms Hamms left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't have a ton of context in this area, but this all makes sense to me and the test is super clear!

@daynew
daynew merged commit dc53490 into staging Sep 10, 2020
@daynew
daynew deleted the fnd-1269-delete-census-inaccuracy branch September 10, 2020 00:40
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.