Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dbeckham opened this issue Apr 4, 2016 · 3 comments
Assignees
Labels

Comments

@dbeckham
Copy link

dbeckham commented Apr 4, 2016

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
Copy link

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

@jrupesh jrupesh self-assigned this Apr 19, 2016
@jrupesh
Copy link
Owner

jrupesh commented Apr 19, 2016

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

@royceking
Copy link

redmine]$ rails -v
Rails 3.2.21

@jrupesh jrupesh added the wontfix label Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants