jrupesh / redmine_my_page

Add options to list custom queries, Activities in the My Page of Redmine.
GNU General Public License v2.0
34 stars 29 forks source link

Redmine 2.6 shows 500 internal server error for My Account page when this plugin is installed. #18

Open dbeckham opened 8 years ago

dbeckham commented 8 years ago

In Redmine 2.6, when going to the "My Account" page at /my/account, I receive a 500 internal server error. Uninstalling the plugin restores the My Account page.

The error message from production.log:

Completed 500 Internal Server Error in 63.3ms

ActionView::Template::Error (wrong number of arguments (2 for 1)):
    41: <fieldset class="box tabular">
    42:   <legend><%=l(:label_preferences)%></legend>
    43:   <%= render :partial => 'users/preferences' %>
    44:   <%= call_hook(:view_my_account_preferences, :user => @user, :form => f) %>
    45: </fieldset>
    46:
    47: </div>
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block 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:44:in `block in _app_views_my_account_html_erb__3582855195318000207_47398840'
  app/helpers/application_helper.rb:1056:in `labelled_form_for'
  app/views/my/account.html.erb:9:in `_app_views_my_account_html_erb__3582855195318000207_47398840'
royceking commented 8 years ago

+1 I get the same error when going to /my/account.

jrupesh commented 8 years ago

Hi Guys, Can you let me know the ruby and rails version? Thanks.

royceking commented 8 years ago

redmine]$ rails -v Rails 3.2.21