Open vsc55 opened 11 months ago
Hi,
Environment: Redmine version: 5.0.6.stable.22323 Ruby version: 3.1.4-p223 (2023-03-30) [x86_64-linux] Rails version: 6.1.7.6
Running "bundle exec rake db:migrate rails_env=production" produces the following error:
# bundle exec rake db:migrate RAILS_ENV=production rake aborted! NameError: uninitialized constant Liquid class TodoListsDrop < ::Liquid::Drop ^^^^^^^^ /opt/redmine/redmine-5.0-stable/plugins/redmine_issue_todo_lists/lib/redmine_issue_todo_lists/liquid/todo_lists_drop.rb:3:in `<module:Liquid>' /opt/redmine/redmine-5.0-stable/plugins/redmine_issue_todo_lists/lib/redmine_issue_todo_lists/liquid/todo_lists_drop.rb:2:in `<module:RedmineIssueTodoLists>' /opt/redmine/redmine-5.0-stable/plugins/redmine_issue_todo_lists/lib/redmine_issue_todo_lists/liquid/todo_lists_drop.rb:1:in `<top (required)>' <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require' <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require' /opt/redmine/redmine-5.0-stable/plugins/redmine_issue_todo_lists/init.rb:29:in `block in <top (required)>' /opt/redmine/redmine-5.0-stable/lib/redmine/plugin.rb:96:in `instance_eval' /opt/redmine/redmine-5.0-stable/lib/redmine/plugin.rb:96:in `register' /opt/redmine/redmine-5.0-stable/plugins/redmine_issue_todo_lists/init.rb:3:in `<top (required)>' /opt/redmine/redmine-5.0-stable/lib/redmine/plugin_loader.rb:31:in `load' /opt/redmine/redmine-5.0-stable/lib/redmine/plugin_loader.rb:31:in `run_initializer' /opt/redmine/redmine-5.0-stable/lib/redmine/plugin_loader.rb:108:in `each' /opt/redmine/redmine-5.0-stable/lib/redmine/plugin_loader.rb:108:in `block in load' /opt/redmine/redmine-5.0-stable/config/environment.rb:16:in `<top (required)>' <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require' <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require' /usr/bin/bundle:9:in `load' /usr/bin/bundle:9:in `<main>' Tasks: TOP => db:migrate => db:load_config => environment (See full trace by running task with --trace)
Fix: https://github.com/vsc55/redmine_issue_todo_lists/commit/c54f89d14f24bec23a56af5b4a6c19fb6f3ad465
Hi,
Environment: Redmine version: 5.0.6.stable.22323 Ruby version: 3.1.4-p223 (2023-03-30) [x86_64-linux] Rails version: 6.1.7.6
Running "bundle exec rake db:migrate rails_env=production" produces the following error: