pulibrary / orangelight

PUL Blacklight Project (Ruby 3.1.0, Rails 7.1.4)
21 stars 7 forks source link

Refactor Middleware::InvalidParameterHandler #4110

Closed maxkadel closed 1 month ago

maxkadel commented 2 months ago

What maintenance needs to be done?

The InvalidParameterHandler needs to be refactored to be part of the controller architecture, rather than the middleware architecture, so that things like warden / current_user are available in the context.

Level of urgency

EOL upgrade

Why is this maintenance needed?

Acceptance criteria

Implementation notes, if any

christinach commented 1 month ago

@sandbergja and I changed the bad request to use the load balancer's page and not a custom bad request error page.

kevinreiss commented 1 month ago

We went a different route to upgrade to 7 and ultimately didn't need to do this. Closing.