-
Notifications
You must be signed in to change notification settings - Fork 88
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 got 500 error after installed this plugin #21
Comments
rikki
changed the title
Redline got 500 error after installed this plugin
Redmine got 500 error after installed this plugin
Dec 15, 2014
I'm getting the same error as @rikki I'm using the same version of redmine and ruby as him
For now I deactivated the plugin to being able to create issues, but I hope this being fixed fast. 😃 |
Same error here. redmine 2.2.1 Note the errors at the end:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
Back
The log shows that a method called "delete_if" is not been claimed
Started GET "/issues/5" for 111.193.182.23 at 2014-12-15 18:50:50 +0800
Processing by IssuesController#show as HTML
Parameters: {"id"=>"5"}
Current user: zhichao.lv (id=1)
Rendered issues/_action_menu.html.erb (2.7ms)
Rendered issue_relations/_form.html.erb (1.4ms)
Rendered issues/_relations.html.erb (2.2ms)
Rendered issues/_history.html.erb (24.4ms)
Rendered issues/_action_menu.html.erb (1.8ms)
Rendered issues/_form_custom_fields.html.erb (0.1ms)
Rendered issues/_attributes.html.erb (11.6ms)
Rendered plugins/redmine_mentions/app/views/hooks/redmine_mentions/_edit_mentionable.html.erb (3.9ms)
Rendered issues/_form.html.erb (26.0ms)
Rendered issues/_edit.html.erb (26.7ms)
Rendered issues/show.html.erb within layouts/base (75.3ms)
Completed 500 Internal Server Error in 132ms
ActionView::Template::Error (undefined method
delete_if' for #<User::ActiveRecord_Relation:0x00000007780828>): 4: <% regex_find = '/\B'+Setting.plugin_redmine_mentions['trigger']+'(\w*)$/i'%> 5: 6: 7: <%users= @project.users.delete_if{|u| (u.type != 'User' || u.mail.empty?)}%> 8: <%users_regex=users.collect{|u| "#{Setting.plugin_redmine_mentions['trigger']}#{u.login}"}.join('|')%> 9: <% regex_highlight = '/\B('+users_regex+')/g' %> 10: <script> lib/redmine/hook.rb:119:in
block (2 levels) in render_on'lib/redmine/hook.rb:117:in
map' lib/redmine/hook.rb:117:in
block in render_on'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:167:in
call_hook'app/views/issues/_form.html.erb:44:in
block in _app_views_issues__form_html_erb___1797317687149565551_74475560' app/helpers/application_helper.rb:1023:in
labelled_fields_for'app/views/issues/_form.html.erb:1:in
_app_views_issues__form_html_erb___1797317687149565551_74475560' app/views/issues/_edit.html.erb:8:in
block in _app_views_issues__edit_html_erb__972739190247922089_74614380'app/helpers/application_helper.rb:1016:in
labelled_form_for' app/views/issues/_edit.html.erb:1:in
_app_views_issues__edit_html_erb__972739190247922089_74614380'app/views/issues/show.html.erb:132:in
_app_views_issues_show_html_erb__17552338068304259_77461980' app/controllers/issues_controller.rb:128:in
block (2 levels) in show'app/controllers/issues_controller.rb:125:in `show'
And redmine info is here:
Environment:
Redmine version 2.6.0.devel
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux]
Rails version 4.1.8
Environment production
Database adapter Mysql2
SCM:
Git 1.7.10.4
Filesystem
Redmine plugins:
redmine_mentions 0.0.1
The text was updated successfully, but these errors were encountered: