Project

General

Profile

Actions

Defect #35582

closed

Error: Template::Error (Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess)

Added by Robinson Torres over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Started GET "/redmine/roles/3/edit" for 192.168.1.1 at 2021-07-19 11:31:51 -0500
Processing by RolesController#edit as HTML
Parameters: {"id"=>"3"}
Current user: admin (id=1)
Rendered roles/_form.html.erb (35.5ms)
Rendered roles/edit.html.erb within layouts/admin (37.1ms)
Completed 500 Internal Server Error in 51ms (ActiveRecord: 6.7ms)

ActionView::Template::Error (Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess):
84: <%= hidden_field_tag "role[permissions_all_trackers][#{permission}]", '0', :id => nil >
85: <
= check_box_tag "role[permissions_all_trackers][#{permission}]",
86: '1',
87: @role.permissions_all_trackers?(permission),
88: :class => "#{permission}_shown",
89: :data => {:disables => ".#{permission}_tracker"} %>
90: </td>
app/models/role.rb:229:in `permissions_all_trackers'
app/models/role.rb:238:in `permissions_all_trackers?'
app/views/roles/_form.html.erb:87:in `block in app_views_roles_form_html_erb___376610786332119881_69944433040580'
app/views/roles/_form.html.erb:82:in `each'
app/views/roles/_form.html.erb:82:in `_app_views_roles__form_html_erb___376610786332119881_69944433040580'
app/views/roles/edit.html.erb:4:in `block in app_views_roles_edit_html_erb__4451376381137512519_69944418235820'
app/helpers/application_helper.rb:1190:in `labelled_form_for'
app/views/roles/edit.html.erb:3:in `_app_views_roles_edit_html_erb___4451376381137512519_69944418235820'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'


Related issues

Related to Redmine - Defect #35608: ActionView::Template::ErrorClosed

Actions
Has duplicate Redmine - Defect #35583: Error were trying to access "Rol"Closed

Actions
Actions #1

Updated by Holger Just over 2 years ago

  • Has duplicate Defect #35583: Error were trying to access "Rol" added
Actions #2

Updated by Marius BĂLTEANU about 2 years ago

Maybe it's the same issue reported in #36584?

Can you confirm which version of psych gem was installed in your environment? If it's >= 4.0.0, can you downgrade to latest 3.x version or try the patch from #36226?

Actions #3

Updated by Marius BĂLTEANU about 2 years ago

Actions #4

Updated by Go MAEDA over 1 year ago

  • Category deleted (Administration)
  • Status changed from New to Closed
  • Resolution set to Fixed

This should have been fixed by #36226.

Actions

Also available in: Atom PDF