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

Account Deletion: Limit confirmation email size #27690

Merged
merged 1 commit into from Mar 26, 2019

Conversation

islemaster
Copy link
Contributor

@islemaster islemaster commented Mar 25, 2019

FND-324, Slack: Fixes recent occurrences of Honeybadger 37298089. We had a teacher with over 1,700 students delete their account and the dependent student accounts, and the JSON blob containing the resulting email body overflowed the pegasus.poste_deliveries text(65535) column params, causing an error when we later tried to parse this JSON in order to send it.

Solution: Don't list every student in the email if a teacher with more than 1000 students deletes their account.

Copy link
Contributor

@maddiedierker maddiedierker left a comment

Choose a reason for hiding this comment

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

😮 great catch!

@islemaster islemaster changed the title Account Deletion: Don't include every student email if a teacher with more than 1000 st… Account Deletion: Limit confirmation email size Mar 26, 2019
@islemaster islemaster merged commit 0bd80e0 into staging Mar 26, 2019
@islemaster islemaster deleted the teacher-mailer-limit branch March 26, 2019 01:06
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.

None yet

2 participants