Defect #8201
closedDisplaing locked users in Administration raises an error
0%
Description
I've just got current trunk version(Redmine 1.1.2.devel.5505). When I went to Administration->Users and tried to display all locked users I got following error:
Processing UsersController#index (for 192.168.1.136 at 2011-04-20 14:41:44) [GET]
Parameters: {"name"=>"", "action"=>"index", "group_id"=>"", "controller"=>"users", "status"=>"3"}
Rendering template within layouts/admin
Rendering users/index
ActionView::TemplateError (undefined method `anonymous_user_path' for #<ActionView::Base:0x7fd213608b40>) on line #49 of app/views/users/index.rhtml:
46: <td class="last_login_on" align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? ></td>
47: <td class="buttons">
48: <= change_status_link(user) >
49: <= link_to(l(:button_delete), user, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del') unless User.current == user >
50: </td>
51: </tr>
52: < end -%>
app/views/users/index.rhtml:49:in `_run_rhtml_app47views47users47index46rhtml'
app/views/users/index.rhtml:38:in `each'
app/views/users/index.rhtml:38:in `_run_rhtml_app47views47users47index46rhtml'
app/controllers/users_controller.rb:64:in `index'
app/controllers/users_controller.rb:61:in `index'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
Related issues
Updated by Etienne Massip over 13 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Closed as duplicate of #7556 which should be closed too (no feedback but looks to be a database issue).