Migrate Tools v6.1.x compatibility

Created on 24 July 2025, 7 days ago

Problem/Motivation

Per πŸ› New parameters introduced in MigrateExecutable class constructor Active a change introduced in πŸ“Œ Fix PHPCS issues Active had the unfortunate impact of changing \Drupal\migrate_tools\MigrateBatchExecutable::__construct function signature in a minor release.

Steps to reproduce

If using Migrate Source UI 8.x-1.2 with Migrate Tools 6.1.x, submitting the form at admin/content/migrate_source_ui shows:

TypeError: Drupal\migrate_tools\MigrateBatchExecutable::__construct(): Argument #3 ($keyValue) must be of type Drupal\Core\KeyValueStore\KeyValueFactoryInterface, array given, called in /app/web/modules/contrib/migrate_source_ui/src/Form/MigrateSourceUiForm.php on line 182 in Drupal\migrate_tools\MigrateBatchExecutable->__construct() (line 72 of modules/contrib/migrate_tools/src/MigrateBatchExecutable.php).

Proposed resolution

- Update Migrate Source UI to accommodate the changes in πŸ“Œ Fix PHPCS issues Active
- As much as required, make the fixed Migrate Source UI depend on matching Migrate Tools version

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand xurizaemon Ōtepoti, Aotearoa 🏝

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024