Project

General

Profile

Actions

Defect #7556

closed

ActionView::TemplateError (undefined method `anonymous_user_path'...) on klicking administration/users

Added by Tomas Hildebrandt about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
2011-02-05
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

The following Problem arises when klicking on administration/users:

ActionView::TemplateError (undefined method `anonymous_user_path' for #<ActionView::Base:0x424b3ee8>) on line #42 of app
/views/users/index.rhtml:
39:     <td class="last_login_on" align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></
td>
40:     <td class="buttons">
41:             <%= change_status_link(user) %>
42:             <%= link_to(l(:button_delete), user, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'i
con icon-del') unless User.current == user %>
43:     </td>
44:   </tr>
45: <% end -%>

    app/views/users/index.rhtml:42:in `_run_rhtml_app47views47users47index46rhtml'
    app/views/users/index.rhtml:31:in `each'
    app/views/users/index.rhtml:31:in `_run_rhtml_app47views47users47index46rhtml'
    app/controllers/users_controller.rb:59:in `index'
    app/controllers/users_controller.rb:58:in `index'
    /var/www/redmine/public/dispatch.fcgi:24

Rendering /var/www/redmine-svn/redmine/public/500.html (500 Internal Server Error)

But im able to mchange the url to http://.../users/x and see the user details and can change settings whithout problems for all ids >=6

Im Using apache/fcgid/mysql on version Redmine 1.1.1.devel.4798 (MySQL).

svn status shows only minimal changes, where 'update_redmine' is a script to backup und 'svn up' to the latest version.

root@home:/var/www/redmine# svn status
?       update_redmine
M       config/environment.rb
!       public/dispatch.fcgi.example
?       public/themes/holo

I Think it is a problem with the database and migration. Im using the devel version without problems since 2006.

Everything else is fine... where is the problem???


Related issues

Has duplicate Redmine - Defect #8201: Displaing locked users in Administration raises an errorClosed2011-04-20

Actions
Actions

Also available in: Atom PDF