Redmine 2.6.8 Bulk Edit Error 500

Added by Fernando Possebon about 7 years ago

Hi all,

I have Redmine instance on 2.6.8 version and when I try to use the bulk edit feature, after change the values and when submit them, I have this error on production.log

tarted GET "/issues/context_menu?utf8=%E2%9C%93&authenticity_token=aZk0UuiTsyN3wkJEkAw5W97lEToUxEXAKkWpML4E%2FTs%3D&back_url=%2Fprojects%2Fxtreme-erp%2Fissues%3Fper_page%3D50&ids%5B%5D=125&ids%5B%5D=124" for 10.193.29.22 at 2015-11-19 13:03:42 -0200
Processing by ContextMenusController#issues as */*
Parameters: {"utf8"=>"✓", "authenticity_token"=>"aZk0UuiTsyN3wkJEkAw5W97lEToUxEXAKkWpML4E/Ts=", "back_url"=>"/projects/xtreme-erp/issues?per_page=50", "ids"=>["125", "124"]}
Current user: fernando.possebon (id=5)
Rendered context_menus/issues.html.erb (147.0ms)
Completed 200 OK in 236.5ms (Views: 141.7ms | ActiveRecord: 17.1ms)
Started GET "/issues/bulk_edit?ids%5B%5D=124&ids%5B%5D=125" for 10.193.29.22 at 2015-11-19 13:03:45 -0200
Processing by IssuesController#bulk_edit as HTML
Parameters: {"ids"=>["124", "125"]}
Current user: fernando.possebon (id=5)
Rendered issues/bulk_edit.html.erb within layouts/base (48.5ms)
Rendered plugins/advanced_roadmap_v2/app/views/hooks/_stylesheet.html.erb (0.4ms)
Rendered plugins/redmine_worktime_log/app/views/worktimelog/_sentinel.html.erb (0.9ms)
Rendered inline template (0.7ms)
Rendered plugins/redmine_planning/app/views/hooks/_planning_scripts.html.erb (0.5ms)
Rendered plugins/redmine_vote/app/views/vote/_view_layouts_base_content.html.erb (0.2ms)
Completed 200 OK in 179.2ms (Views: 89.4ms | ActiveRecord: 15.1ms)
Started POST "/issues/bulk_update" for 10.193.29.22 at 2015-11-19 13:04:04 -0200
Processing by IssuesController#bulk_update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"aZk0UuiTsyN3wkJEkAw5W97lEToUxEXAKkWpML4E/Ts=", "ids"=>["124", "125"], "issue"=>{"project_id"=>"", "tracker_id"=>"", "status_id"=>"", "priority_id"=>"", "assigned_to_id"=>"5", "category_id"=>"", "fixed_version_id"=>"", "is_private"=>"", "parent_issue_id"=>"", "start_date"=>"", "due_date"=>"", "done_ratio"=>""}, "notes"=>"", "commit"=>"Enviar"}
Current user: fernando.possebon (id=5)
Completed 500 Internal Server Error in 54.3ms

NoMethodError (undefined method `position' for nil:NilClass):
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:153:in `call_hook'
app/controllers/issues_controller.rb:285:in `block in bulk_update'
app/controllers/issues_controller.rb:273:in `each'
app/controllers/issues_controller.rb:273:in `bulk_update'

Additional information:

Environment:
Redmine version 2.6.8.stable
Ruby version 2.0.0-p353 (2013-11-22) [x86_64-linux]
Rails version 3.2.22
Environment production
Database adapter Mysql2
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
GitRemote 1.8.3.1
Redmine plugins:
advanced_roadmap_v2 2.4.2
contracts 1.2.0
recurring_tasks 2.0.0-pre
redmine_admin_monitor 1.0.0
redmine_app__space 1.0.3
redmine_app_timesheets 1.4.11
redmine_checklists 3.0.3
redmine_ckeditor 1.0.20
redmine_documents 1.0.0
redmine_evm 1.0.0
redmine_gamification_plugin 0.0.3
redmine_git_remote 0.0.1
redmine_monitoring_controlling 0.1.1
redmine_planning 0.7.6
redmine_stats 0.0.3
redmine_vote 1.2.1
redmine_work_time 0.3.0
redmine_worktime_log 0.0.3
redrisk 1.0.1