Defect #919
Redmine 2.6 HEAD and scrum 0.8.0
Description
I've tried redmine 2.6 with scrum plugins 0.8.0.
This installation is based on an older version of redmine (2.5) and scrum 0.6.0.
Thus the database already exists.
I've first have upgraded redmine to version 2.6 (Scrum plugins was disabled).
This was done with success.
When i tried to upgrade scrum to version 0.8.0.
I've applied an bundle install
and bundle exec rake redmine:plugins:migrate RAILS_ENV=production
i then face the following error:
ArgumentError: Unknown key: :order. Valid keys are: :class_name, :class, :foreign_key, :validate, :autosave, :table_name, :before_add, :after_add, :before_remove, :after_remove, :extend, :primary_key, :dependent, :as, :through, :source, :source_type, :inverse_of, :counter_cache, :join_table
The Scrum plugins is no more able to run on my web site. I've toporarily disabled it.
Thank you in advance for your help.
the complete error log is just hereunder:
- Invoke redmine:plugins:migrate (first_time)
- Invoke environment (first_time)
- Execute environment
rake aborted!
ArgumentError: Unknown key: :order. Valid keys are: :class_name, :class, :foreign_key, :validate, :autosave, :table_name, :before_add, :after_add, :before_remove, :after_remove, :extend, :primary_key, :dependent, :as, :through, :source, :source_type, :inverse_of, :counter_cache, :join_table
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/core_ext/hash/keys.rb:71:in `block in assert_valid_keys'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/core_ext/hash/keys.rb:69:in `each_key'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/core_ext/hash/keys.rb:69:in `assert_valid_keys'
/home/apiou/webapps/redmine_2_3/gems/gems/activerecord-4.1.8/lib/active_record/associations/builder/association.rb:81:in `validate_options'
/home/apiou/webapps/redmine_2_3/gems/gems/activerecord-4.1.8/lib/active_record/associations/builder/association.rb:61:in `initialize'
/home/apiou/webapps/redmine_2_3/gems/gems/activerecord-4.1.8/lib/active_record/associations/builder/collection_association.rb:18:in `initialize'
/home/apiou/webapps/redmine_2_3/gems/gems/activerecord-4.1.8/lib/active_record/associations/builder/association.rb:46:in `new'
/home/apiou/webapps/redmine_2_3/gems/gems/activerecord-4.1.8/lib/active_record/associations/builder/association.rb:46:in `create_builder'
/home/apiou/webapps/redmine_2_3/gems/gems/activerecord-4.1.8/lib/active_record/associations/builder/association.rb:35:in `build'
/home/apiou/webapps/redmine_2_3/gems/gems/activerecord-4.1.8/lib/active_record/associations.rb:1215:in `has_many'
/home/apiou/webapps/redmine_2_3/redmine/plugins/scrum/lib/scrum/issue_patch.rb:9:in `block in included'
/home/apiou/webapps/redmine_2_3/redmine/plugins/scrum/lib/scrum/issue_patch.rb:6:in `class_eval'
/home/apiou/webapps/redmine_2_3/redmine/plugins/scrum/lib/scrum/issue_patch.rb:6:in `included'
/home/apiou/webapps/redmine_2_3/redmine/plugins/scrum/init.rb:8:in `include'
/home/apiou/webapps/redmine_2_3/redmine/plugins/scrum/init.rb:8:in `<top (required)>'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `block in require'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
/home/apiou/webapps/redmine_2_3/redmine/lib/redmine/plugin.rb:150:in `block in load'
/home/apiou/webapps/redmine_2_3/redmine/lib/redmine/plugin.rb:141:in `each'
/home/apiou/webapps/redmine_2_3/redmine/lib/redmine/plugin.rb:141:in `load'
/home/apiou/webapps/redmine_2_3/redmine/config/initializers/30-redmine.rb:21:in `<top (required)>'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `load'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `block in load'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in `load'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/engine.rb:648:in `block in load_config_initializer'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/notifications.rb:161:in `instrument'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/engine.rb:647:in `load_config_initializer'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/engine.rb:611:in `each'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/engine.rb:611:in `block in <class:Engine>'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `instance_exec'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/initializable.rb:30:in `run'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:150:in `block in tsort_each'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:210:in `block (2 levels) in each_strongly_connected_component_from'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:219:in `each_strongly_connected_component_from'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:209:in `block in each_strongly_connected_component_from'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/initializable.rb:44:in `each'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:203:in `each_strongly_connected_component_from'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:182:in `block in each_strongly_connected_component'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:180:in `each'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:180:in `each_strongly_connected_component'
/usr/local/lib/ruby19/ruby/1.9.1/tsort.rb:148:in `tsort_each'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/initializable.rb:54:in `run_initializers'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/application.rb:300:in `initialize!'
/home/apiou/webapps/redmine_2_3/redmine/config/environment.rb:14:in `<top (required)>'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `block in require'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/apiou/webapps/redmine_2_3/gems/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/application.rb:276:in `require_environment!'
/home/apiou/webapps/redmine_2_3/gems/gems/railties-4.1.8/lib/rails/application.rb:389:in `block in run_tasks_blocks'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:240:in `call'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:240:in `block in execute'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:235:in `each'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:235:in `execute'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/local/lib/ruby19/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:172:in `invoke_with_call_chain'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:199:in `each'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:199:in `invoke_prerequisites'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/local/lib/ruby19/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:172:in `invoke_with_call_chain'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/task.rb:165:in `invoke'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:150:in `invoke_task'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:106:in `each'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:106:in `block in top_level'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:115:in `run_with_threads'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:100:in `top_level'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:78:in `block in run'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:176:in `standard_exception_handling'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/lib/rake/application.rb:75:in `run'
/home/apiou/webapps/redmine_2_3/gems/gems/rake-10.4.1/bin/rake:33:in `<top (required)>'
/home/apiou/webapps/redmine_2_3/gems/bin/rake:19:in `load'
/home/apiou/webapps/redmine_2_3/gems/bin/rake:19:in `<main>'
/home/apiou/webapps/redmine_2_3/gems/bin/ruby_executable_hooks1.9:15:in `eval'
/home/apiou/webapps/redmine_2_3/gems/bin/ruby_executable_hooks1.9:15:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
No data to display