mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
389 stars 195 forks source link

[ERROR] admin_public_body edit (ActionView::MissingTemplate) "Missing template admin_public_body_change_requests/update_accepted" #5816

Open garethrees opened 4 years ago

garethrees commented 4 years ago

An ActionView::MissingTemplate occurred in admin_public_body#edit:

Missing template admin_public_body_change_requests/update_accepted with {:locale=>[:en], :formats=>[:text, :html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee]}. Searched in:
* "/data/vhost/www.whatdotheyknow.com/alaveteli-2020-06-16T11-05-01/lib/themes/whatdotheyknow-theme/lib/views"
* "/data/vhost/www.whatdotheyknow.com/alaveteli-2020-06-16T11-05-01/app/views"

app/controllers/admin_public_body_controller.rb:83:in `edit'

-------------------------------
Request:
-------------------------------

* URL : https://www.whatdotheyknow.com/admin/bodies/8209/edit?change_request_id=4270
* HTTP Method: GET
* Parameters : {"change_request_id"=>"4270", "controller"=>"admin_public_body", "action"=>"edit", "id"=>"8209"}
* Timestamp : 2020-06-20 19:01:11 +0100
* Rails root : /REDACTED/alaveteli-2020-06-16T11-05-01

-------------------------------
Session:
-------------------------------

* session id: [FILTERED]
* data: {"session_id"=>"REDACTED",
"locale"=>"en",
"remember_me"=>true,
"_csrf_token"=>"REDACTED",
"request_game"=>"2020-06-18T16:05:23.094+01:00",
"user_id"=>2779,
"post_redirect_token"=>"REDACTED",
"using_admin"=>1,
"admin_name"=>"REDACTED"}

-------------------------------
Backtrace:
-------------------------------

app/controllers/admin_public_body_controller.rb:83:in `edit'
app/controllers/application_controller.rb:111:in `record_memory'
lib/strip_empty_sessions.rb:15:in `call'
gbp commented 4 years ago

Funnily enough this is occurred in the Rails 6 specs run I did and is fixed in #5817

garethrees commented 3 years ago

Is this now fixed because https://github.com/mysociety/alaveteli/pull/5817 is merged?