Project

General

Profile

Actions

Defect #32939

closed

Rails 6: fix plugin migrations

Defect #32939: Rails 6: fix plugin migrations

Added by Pavel Rosický almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
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


Files

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

Related issues 1 (0 open — 1 closed)

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

Updated by Marius BĂLTEANU almost 7 years ago Actions #1

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

Updated by Go MAEDA over 6 years ago Actions #2

  • Category set to Rails support

Updated by Marius BĂLTEANU over 5 years ago Actions #3

  • Tracker changed from Patch to Defect

Updated by Go MAEDA over 5 years ago Actions #4

  • 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: PDF Atom