Actions
Defect #37531
closedafter RM upgrade: ActionView::Template::Error (Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess)
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
After migration from 4.1.5 to 4.2.7 everything works until ticket is open(viewed) or created. I can log time, create project, edit whatever, but I cant touch ticket. When i click ticket I get Internal server error with this in rm logfile:
F, [2022-07-30T17:35:08.289490 #5377] FATAL -- : F, [2022-07-30T17:35:08.289527 #5377] FATAL -- : ActionView::Template::Error (Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess): F, [2022-07-30T17:35:08.289721 #5377] FATAL -- : 21: 22: <% if @issue.safe_attribute? 'assigned_to_id' %> 23: <p> 24: <%= f.select :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to), 25: :include_blank => true, :required => @issue.required_attribute?('assigned_to_id') %> 26: <% if @issue.assignable_users.include?(User.current) %> 27: <a class="assign-to-me-link<%= ' hidden' if @issue.assigned_to_id == User.current.id %>" href="#" data-id="<%= User.current.id %>"><%= l(:label_assign_to_me) %></a> F, [2022-07-30T17:35:08.289761 #5377] FATAL -- : F, [2022-07-30T17:35:08.289793 #5377] FATAL -- : app/models/role.rb:233:in `permissions_all_trackers'
Environment: Redmine version 4.2.7.stable Ruby version 2.7.6-p219 (2022-04-12) [x86_64-linux] Rails version 5.2.8.1 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
DB is Mariadb 10.6
Rails 5.2.8.1
This update was done along with Ruby2.6 to Ruby2.7 switch.
Actions