Open honeybadger[bot] opened 2 days ago
Our custom error pages are fine, but the admin works controller is using a reserved word as a parameter: format
, which causes the errors controller to render the text template instead of errors/internal_error.html.erb
.
See: https://stackoverflow.com/questions/70726614/ruby-on-rails-use-format-as-a-url-get-parameter
I'm going to rename that parameter from format
to work_format
and add a regression test.
Our custom error pages are fine, but the admin works controller is using a reserved word as a parameter: format,
I just ran into something similar with Oral History controllers when I tried to upgrade Rails to latest, except it was actually an error about calling format
on an object that didn't have such a method; I just rolled back cause I wasn't planning on dealing with it now, but that's interesting.
Thanks for fixing it here! And nice job diagnosing!
@jrochkind reports: I did this one messing with admin Work screen, trying to search for "child works: yes".
More disturbing is that I did NOT get the custom error page we intend, I just got a blank white page with small type "Server Error". So our custom error pages may be broken?
Backtrace
View full backtrace and more info at honeybadger.io