We're updating the issue view to help you get more done. 

Session cookie overflows when applying too many filters or search terms, causing 500 error

Description

Steps to reproduce
Go to a heavily-filtered work listing – for this, I excluded 30 relationships in the Marvel tag by selecting all 10 listed relationships, pressing Sort and Filter, selecting the 10 new relationships that were added to the section, pressing Sort and Filter, and repeating once again.

What happens
A 500 error with this trace:

1 2 3 4 5 6 ActionDispatch::Cookies::CookieOverflow: ActionDispatch::Cookies::CookieOverflow …onpack-5.1.3/lib/action_dispatch/middleware/cookies.rb: 594:in `commit' …onpack-5.1.3/lib/action_dispatch/middleware/cookies.rb: 465:in `[]=' …lib/action_dispatch/middleware/session/cookie_store.rb: 117:in `set_cookie' …/2.3.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb: 363:in `commit_session' …/2.3.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb: 234:in `context'

What should happen
I should see a filtered works page.

Notes

Ah its the where did I come from url ?
So if we checked to see it was over say 128 characters and if it was make it the home page.

james_ [17:32]
Or we just don't store where we came from

Environment

None

Status

Assignee

redsummernight

Reporter

Sarken

Roadmap

Misc

Priority

High

Affects versions

0.9.217

Fix versions

Components

BackEnd

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9