Defect #32939

Rails 6: fix plugin migrations

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

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

0%

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

Description

fixes

Error:
Redmine::PluginTest#test_migrate_redmine_plugin:
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 4 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ý.

History

#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 4 months ago

  • Tracker changed from Patch to Defect

#4 Updated by Go MAEDA 4 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