Defect #32939

Rails 6: fix plugin migrations

Added by Pavel Rosický over 1 year ago. Updated 7 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:


Category:Rails support
Target version:-
Resolution:Fixed Affected version:



ArgumentError: wrong number of arguments (given 1, expected 2)
    lib/redmine/plugin.rb:542:in `new'
    lib/redmine/plugin.rb:542:in `migrate_plugin'
    lib/redmine/plugin.rb:483:in `migrate'
    lib/redmine/plugin.rb:494:in `migrate'
    test/unit/lib/redmine/plugin_test.rb:206:in `test_migrate_redmine_plugin'
rails test test/unit/lib/redmine/plugin_test.rb:200

plugin.rb.patch Magnifier (1.4 KB) Pavel Rosický, 2020-02-03 02:58

Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 New

Associated revisions

Revision 20888
Added by Go MAEDA 7 months ago

Fix "ArgumentError: wrong number of arguments (given 1, expected 2) on Redmine::PluginTest#test_migrate_redmine_plugin" (#29914, #32939).

Patch by Pavel Rosický.


#1 Updated by Marius BALTEANU over 1 year ago

#2 Updated by Go MAEDA over 1 year ago

  • Category set to Rails support

#3 Updated by Marius BALTEANU 7 months ago

  • Tracker changed from Patch to Defect

#4 Updated by Go MAEDA 7 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch as a part of #29914.

Also available in: Atom PDF