Comment 4 for bug 1010406

Revision history for this message
Ivan Cenov (i-cenov) wrote :

Hi,

I applied the patch of Alexey Slynco; generally, it works but when I press 'Profile' link, it raises Internal server error. Here is the log:

Started GET "/my/account" for 192.168.2.100 at Fri Jun 29 19:05:30 +0300 2012
Processing by MyController#account as HTML
  Rendered my/account.html.erb within layouts/base (156.2ms)
Completed 500 Internal Server Error in 297ms

ActionView::Template::Error (Missing partial hooks/redmine_local_avatars/view_my_account_contextual with {:handlers=>[:b
uilder, :rsb, :erb, :rjs], :formats=>[:html], :locale=>[:bg, :en]}. Searched in:
  * "D:/biz/apps/redmine_trunk/plugins/redmine_theme_changer/app/views"
  * "D:/biz/apps/redmine_trunk/plugins/redmine_local_avatars/app/views"
  * "D:/biz/apps/redmine_trunk/plugins/redmine_knowledgebase/app/views"
  * "D:/biz/apps/redmine_trunk/plugins/redmine_code_review/app/views"
  * "D:/biz/apps/redmine_trunk/plugins/projects_tree_view/app/views"
  * "D:/biz/apps/redmine_trunk/app/views"
):
    1: <div class="contextual">
    2: <%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_pa
ssword_allowed? %>
    3: <%= call_hook(:view_my_account_contextual, :user => @user)%>
    4: </div>
    5:
    6: <h2><%=l(:label_my_account)%></h2>
  lib/redmine/hook.rb:111:in `send'
  lib/redmine/hook.rb:111:in `view_my_account_contextual'
  lib/redmine/hook.rb:61:in `send'
  lib/redmine/hook.rb:61:in `call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:158:in `call_hook'
  app/views/my/account.html.erb:3:in `_app_views_my_account_html_erb___296452356_49987416'