jrupesh / event_notifications

Redmine event notifications : Add event notification options to the each event at the redmine project. For EX: notifications can be enabled / disabled on each document added or news added. Further the tracking can be done at the issue tracker level.
BSD 3-Clause "New" or "Revised" License
28 stars 26 forks source link

500 internal error on 2.3.2 redmine #12

Open fengyedou opened 9 years ago

fengyedou commented 9 years ago

After installing, I configure to enable the plug-in in admin page, then I click to my account, there is internal error, my env. is redmine 2.3.2.

log is here:

Started GET "/redmine/my/account" for 127.0.0.1 at 2014-12-22 08:59:49 +0800 Processing by MyController#account as HTML Current user: xxx (id=1) Rendered plugins/event_notifications/app/views/my/_general_settings.html.erb (41.0ms) Rendered common/_tabs.html.erb (42.0ms) Rendered plugins/event_notifications/app/views/my/account.html.erb within layouts/base (44.0ms) Completed 500 Internal Server Error in 90ms

ActionView::Template::Error (undefined method force_default_language?' for #<User:0x4f87c08>): 6: <p><%= f.text_field :firstname, :required => true %></p> 7: <p><%= f.text_field :lastname, :required => true %></p> 8: <p><%= f.text_field :mail, :required => true %></p> 9: <% unless @user.force_default_language? %> 10: <p><%= f.select :language, lang_options_for_select %></p> 11: <% end %> 12: <% if Setting.openid? %> app/views/common/_tabs.html.erb:24:inblock in _app_views_commontabs_html_erb_591536111_43196136' app/views/common/_tabs.html.erb:23:in each' app/views/common/_tabs.html.erb:23:in_app_views_commontabs_htmlerb591536111_43196136' app/helpers/application_helper.rb:271:in render_tabs' app/helpers/application_helper.rb:948:inlabelled_form_for'