Project

General

Profile

Actions

Defect #32939

closed

Rails 6: fix plugin migrations

Added by Pavel Rosický about 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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


Files

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

Related issues

Related to Redmine - Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloadingClosedGo MAEDA

Actions
Actions #1

Updated by Marius BĂLTEANU about 4 years ago

  • Related to Feature #29914: Migrate to Rails 6.1 with Zeitwerk autoloading added
Actions #2

Updated by Go MAEDA about 4 years ago

  • Category set to Rails support
Actions #3

Updated by Marius BĂLTEANU almost 3 years ago

  • Tracker changed from Patch to Defect
Actions #4

Updated by Go MAEDA almost 3 years ago

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

Committed the patch as a part of #29914.

Actions

Also available in: Atom PDF