- Issue created by @DamienMcKenna
- πΊπΈUnited States DamienMcKenna NH, USA
OTOH I wonder if modifying migrate_upgrade to include "commerce_migrate_commerce_reference_revision" in the list of migrate_lookup -based plugins would help?
diff --git a/src/MigrateUpgradeDrushRunner.php b/src/MigrateUpgradeDrushRunner.php index 33e8344..1738687 100644 --- a/src/MigrateUpgradeDrushRunner.php +++ b/src/MigrateUpgradeDrushRunner.php @@ -82,6 +82,7 @@ class MigrateUpgradeDrushRunner { protected $migrationLookupPluginIds = [ 'migration', 'migration_lookup', + 'commerce_migrate_commerce_reference_revision', ]; /**
- πΊπΈUnited States DamienMcKenna NH, USA
I opened β¨ Extend list of migrate_lookup -like migration plugins Needs review for Migrate Upgrade to cover #2.
- Status changed to Needs review
11 months ago 6:40pm 21 May 2024 - πΊπΈUnited States DamienMcKenna NH, USA
This fixes the lookups for me, though it could probably be reworked to be cleaner.
- πΊπΈUnited States DamienMcKenna NH, USA
FWIW I also noticed that additional Field API fields which exist on the source are added to the mapping. When I customized the migration I renamed one of the fields from "field_order_notes' to "field_notes" and updated the migration accordingly; while debugging this problem I found that the system created a new migration process called "field_order_notes".
I think whatever is automatically creating the migration process definitions is being too .. greedy? It should only add the process definitions when the migration definition is first created, it shouldn't constantly add new items.