Open botsconsultoria opened 5 years ago
having the same issue, are there any news on this? The original plugin is having the same issue.
Facing the same issue, any fix on this ?
Fixing... I hope.
I confirm.
[~/redmine]$ RAILS_ENV=production bundle exec rake redmine:plugins:migrate
rake aborted!
NoMethodError: undefined method `around_filter' for CalendarsController:Class
Did you mean? around_action
/mnt/storage/opt/redmine/redmine/plugins/advanced_roadmap_v2/lib/advanced_roadmap/calendars_controller_patch.rb:8:in `block in included'
/mnt/storage/opt/redmine/redmine/plugins/advanced_roadmap_v2/lib/advanced_roadmap/calendars_controller_patch.rb:6:in `class_eval'
/mnt/storage/opt/redmine/redmine/plugins/advanced_roadmap_v2/lib/advanced_roadmap/calendars_controller_patch.rb:6:in `included'
/mnt/storage/opt/redmine/redmine/plugins/advanced_roadmap_v2/init.rb:13:in `include'
/mnt/storage/opt/redmine/redmine/plugins/advanced_roadmap_v2/init.rb:13:in `<top (required)>'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `block in require'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:257:in `load_dependency'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `require'
/mnt/storage/opt/redmine/redmine/lib/redmine/plugin.rb:181:in `block in load'
/mnt/storage/opt/redmine/redmine/lib/redmine/plugin.rb:172:in `each'
/mnt/storage/opt/redmine/redmine/lib/redmine/plugin.rb:172:in `load'
/mnt/storage/opt/redmine/redmine/config/initializers/30-redmine.rb:20:in `<top (required)>'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:285:in `load'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:285:in `block in load'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:257:in `load_dependency'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:285:in `load'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/engine.rb:663:in `block in load_config_initializer'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/activesupport-5.2.4.1/lib/active_support/notifications.rb:170:in `instrument'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/engine.rb:662:in `load_config_initializer'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/engine.rb:619:in `each'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/engine.rb:619:in `block in <class:Engine>'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in `instance_exec'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in `run'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/initializable.rb:50:in `each'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/initializable.rb:50:in `tsort_each_child'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/initializable.rb:60:in `run_initializers'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/application.rb:361:in `initialize!'
/mnt/storage/opt/redmine/redmine/config/environment.rb:16:in `<top (required)>'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/application.rb:337:in `require_environment!'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-5.2.4.1/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
Environment:
Redmine version 4.1.0.stable
Ruby version 2.6.3-p62 (2019-04-16) [x86_64-linux]
Rails version 5.2.4.1
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.7.14
Mercurial 5.2.2
Bazaar 2.5.1
Git 2.9.3
Filesystem
Xitolite 2.9.3
Redmine plugins:
additionals 2.0.23
progressive_projects_list 4.0.0
redmine_git_hosting 4.0.1
redmine_issue_badge 0.1.3
redmine_tags 4.0.0
With this forked project, I was able to install it without error in Redmine 4.1.0. Try it. https://github.com/awk-kazmin/redmine_advanced_roadmap_v2
OS:
Windows 10 Pro 1909 Gen2
(Bitnami-4.1.0-8)
Environment:
Redmine version 4.1.0.stable
Ruby version 2.5.7-p206 (2019-10-01) [x64-mingw32]
Rails version 5.2.4.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Git 2.25.0
Filesystem
Redmine plugins:
advanced_roadmap_v2 2.4.3
easy_gantt 1.12
redmine_absolute_dates 0.0.4
redmine_checklists 3.1.16
redmine_dashboard 2.7.1
redmine_issue_templates 1.0.0
redmine_jstoolbar_ext 0.2.1
redmine_jstoolbar_ext_buttons 0.2.1
redmine_work_time 0.4.0
view_customize 2.5.0
With this forked project, I was able to install it without error in Redmine 4.1.0. Try it. https://github.com/awk-kazmin/redmine_advanced_roadmap_v2
Very sorry. No:
Since original plugin is back on rails, this plugin won't be maintained anymore.
master branch can fix the problem below: NoMethodError: undefined method `around_filter' for CalendarsController:Class But the roadmap function can not be dispalyed in the system with installing sccessful! The edition is 4.0.0 or 4.1.1
Redmine 4.0.3 Httpd CentOS 7