Actions
Defect #40075
closedundefined local variable or method `users_context_menu_path'
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
This happened when i click on Administriation->Users
(5.1.1.)
redmine-redmine-1 | I, [2024-01-17T09:59:02.987907 #1] INFO -- : Rendered users/index.html.erb within layouts/admin (Duration: 2.7ms | Allocations: 5962) redmine-redmine-1 | I, [2024-01-17T09:59:02.988143 #1] INFO -- : Rendered layout layouts/admin.html.erb (Duration: 2.9ms | Allocations: 5988) redmine-redmine-1 | I, [2024-01-17T09:59:02.988431 #1] INFO -- : Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.1ms | Allocations: 10040) redmine-redmine-1 |F, [2024-01-17T09:59:02.989101 #1] FATAL -- : redmine-redmine-1 | ActionView::Template::Error (undefined local variable or method `users_context_menu_path' for #<ActionView::Base:0x0000000001efa0>): redmine-redmine-1 | 1: <%= form_tag({}, data: {cm_url: users_context_menu_path}) do -%> redmine-redmine-1 | 2: <%= hidden_field_tag 'back_url', url_for(params: request.query_parameters), id: nil %> redmine-redmine-1 | 3: <div class="autoscroll"> redmine-redmine-1 | 4: <table class="list odd-even users"> redmine-redmine-1 | redmine-redmine-1 | app/views/users/_list.html.erb:1 redmine-redmine-1 | app/views/users/index.html.erb:21 redmine-redmine-1 | app/controllers/users_controller.rb:72:in `block (2 levels) in index' redmine-redmine-1 | app/controllers/users_controller.rb:66:in `index' redmine-redmine-1 | lib/redmine/sudo_mode.rb:61:in `sudo_mode'
On Redmine 5.0.7. it works without an error
Actions