-
-
Notifications
You must be signed in to change notification settings - Fork 571
Closed
Labels
Description
Summary
Fix Cookie overflow error -- using memflash
Why?
Mitigation of user frustration -- better to see all the errors than to get a 500
Details
When there are very large flash[:error] = '....'
values assigned we get a cookie overflow error. Implement this library to avoid the issue -- https://github.com/zendesk/memflash
This occurred when importing partners with a lot of errors (so an invalid CSV of some sort). You could probably recreate it by making a CSV with a lot of duplicate partners.
Or a more hackey way would be to edit a controller and add flash[:error] = "?" * 12000
. The error we got in bugsnag mentioned 11496, so more characters or bad CSV entries than that.
Criteria for completion
- error fixed
- automated tests to support fix.