- Issue created by @DamienMcKenna
- Status changed to Needs review
7 months ago 5:33pm 21 May 2024
A regular problem is that migration plugins which extend migrate_lookup are not automatically updated to work with migrate_upgrade's prefix. For example, with Commerce Migrate it's common to have a process definition like this:
billing_profile:
-
plugin: commerce_migrate_commerce_reference_revision
migration: commerce1_profile
source: commerce_customer_billing
no_stub: true
When using Migrate Upgrade this should be changed to "migration: upgrade_commerce1_profile", but it doesn't happen because the process plugin isn't listed in Migrate Upgrade's list of migrate_lookup plugins.
Run a Commerce v1 migration upgrade.
In MigrateUpgradeDrushRunne extend $migrationLookupPluginIds to cover other plugins.
Alternatively, rewrite the logic to support all plugins which extend the base MigrateLookup plugin.
TBD
TBD
TBD
TBD
Needs review
4.0
Code