Closed Ying666 closed 5 years ago
Es scheint als wäre das Plugin leider nicht mit Redmine 4.0 bzw. Rails 5.2 kompatibel. Könnten Sie sich dies einmal anschauen
Folgenden Fehler erhalten wir beim ausführen von " bundle exec rake db:migrate RAILS_ENV=production --trace"
Log:
Invoke db:migrate (first_time) Invoke db:load_config (first_time) Invoke environment (first_time) Execute environment rake aborted! NoMethodError: undefined method before_filter' for IssuesController:Class Did you mean? before_action /usr/share/test_redmine/plugins/redmine_default_custom_query/app/patches/controllers/issues_controller_patch.rb:12:inblock in ' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/concern.rb:122:in class_eval' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/concern.rb:122:inappend_features' /usr/share/test_redmine/plugins/redmine_default_custom_query/app/patches/controllers/issues_controller_patch.rb:92:in include' /usr/share/test_redmine/plugins/redmine_default_custom_query/app/patches/controllers/issues_controller_patch.rb:92:inblock in <top (required)>' /usr/share/test_redmine/plugins/redmine_default_custom_query/app/patches/controllers/issues_controller_patch.rb:91:in tap' /usr/share/test_redmine/plugins/redmine_default_custom_query/app/patches/controllers/issues_controller_patch.rb:91:in<top (required)>' /var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:inload_dependency' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:inblock in require_or_load' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in block in load_interlock' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:inblock in loading' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb:151:in exclusive' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:inloading' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in load_interlock' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:inrequire_or_load' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:334:in depend_on' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:246:inrequire_dependency' /usr/share/test_redmine/plugins/redmine_default_custom_query/lib/default_custom_query.rb:11:in block (2 levels) in <top (required)>' /usr/share/test_redmine/plugins/redmine_default_custom_query/lib/default_custom_query.rb:11:ineach' /usr/share/test_redmine/plugins/redmine_default_custom_query/lib/default_custom_query.rb:11:in block in <top (required)>' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:426:ininstance_exec' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:426:in block in make_lambda' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:198:inblock (2 levels) in halting' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:606:in block (2 levels) in default_terminator' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:incatch' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:in block in default_terminator' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:199:inblock in halting' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in block in invoke_before' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:ineach' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in invoke_before' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:131:inrun_callbacks' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/reloader.rb:89:in prepare!' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application/finisher.rb:63:inblock in ' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in instance_exec' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:inrun' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in block in run_initializers' /usr/lib/ruby/2.3.0/tsort.rb:228:inblock in tsort_each' /usr/lib/ruby/2.3.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' /usr/lib/ruby/2.3.0/tsort.rb:431:ineach_strongly_connected_component_from' /usr/lib/ruby/2.3.0/tsort.rb:349:in block in each_strongly_connected_component' /usr/lib/ruby/2.3.0/tsort.rb:347:ineach' /usr/lib/ruby/2.3.0/tsort.rb:347:in call' /usr/lib/ruby/2.3.0/tsort.rb:347:ineach_strongly_connected_component' /usr/lib/ruby/2.3.0/tsort.rb:226:in tsort_each' /usr/lib/ruby/2.3.0/tsort.rb:205:intsort_each' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in run_initializers' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:361:ininitialize!' /usr/share/test_redmine/config/environment.rb:16:in <top (required)>' /var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire' /var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:inblock in require' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:inrequire' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:337:in require_environment!' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:520:inblock in run_tasks_blocks' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in block in execute' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:ineach' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in execute' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:214:inblock in invoke_with_call_chain' /usr/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:ininvoke_with_call_chain' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in block in invoke_prerequisites' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:ineach' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in invoke_prerequisites' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:inblock in invoke_with_call_chain' /usr/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:ininvoke_with_call_chain' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in block in invoke_prerequisites' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:ineach' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in invoke_prerequisites' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:inblock in invoke_with_call_chain' /usr/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:ininvoke_with_call_chain' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:183:in invoke' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:160:ininvoke_task' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in block (2 levels) in top_level' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:ineach' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in block in top_level' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:125:inrun_with_threads' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:110:in top_level' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:83:inblock in run' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:186:in standard_exception_handling' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:80:inrun' /var/lib/gems/2.3.0/gems/rake-12.3.2/exe/rake:27:in <top (required)>' /usr/local/bin/rake:23:inload' /usr/local/bin/rake:23:in `' Tasks: TOP => db:migrate => db:load_config => environment
before_filter' for IssuesController:Class Did you mean? before_action /usr/share/test_redmine/plugins/redmine_default_custom_query/app/patches/controllers/issues_controller_patch.rb:12:in
class_eval' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/concern.rb:122:in
include' /usr/share/test_redmine/plugins/redmine_default_custom_query/app/patches/controllers/issues_controller_patch.rb:92:in
tap' /usr/share/test_redmine/plugins/redmine_default_custom_query/app/patches/controllers/issues_controller_patch.rb:91:in
require' /var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
block in require' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in
require' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:in
block in load_interlock' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:in
exclusive' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:in
load_interlock' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:in
depend_on' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:246:in
block (2 levels) in <top (required)>' /usr/share/test_redmine/plugins/redmine_default_custom_query/lib/default_custom_query.rb:11:in
block in <top (required)>' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:426:in
block in make_lambda' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:198:in
block (2 levels) in default_terminator' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:in
block in default_terminator' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:199:in
block in invoke_before' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in
invoke_before' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:131:in
prepare!' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application/finisher.rb:63:in
instance_exec' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
block in run_initializers' /usr/lib/ruby/2.3.0/tsort.rb:228:in
block (2 levels) in each_strongly_connected_component' /usr/lib/ruby/2.3.0/tsort.rb:431:in
block in each_strongly_connected_component' /usr/lib/ruby/2.3.0/tsort.rb:347:in
call' /usr/lib/ruby/2.3.0/tsort.rb:347:in
tsort_each' /usr/lib/ruby/2.3.0/tsort.rb:205:in
run_initializers' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:361:in
<top (required)>' /var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in
require' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
load_dependency' /var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
require_environment!' /var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:520:in
block in execute' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in
execute' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:214:in
mon_synchronize' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in
block in invoke_prerequisites' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in
invoke_prerequisites' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in
invoke' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:160:in
block (2 levels) in top_level' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in
block in top_level' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:125:in
top_level' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:83:in
standard_exception_handling' /var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:80:in
<top (required)>' /usr/local/bin/rake:23:in
Es scheint als wäre das Plugin leider nicht mit Redmine 4.0 bzw. Rails 5.2 kompatibel. Könnten Sie sich dies einmal anschauen
Folgenden Fehler erhalten wir beim ausführen von " bundle exec rake db:migrate RAILS_ENV=production --trace"
Log: