Extend list of migrate_lookup -like migration plugins

Created on 21 May 2024, 7 months ago

Problem/Motivation

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.

Steps to reproduce

Run a Commerce v1 migration upgrade.

Proposed resolution

In MigrateUpgradeDrushRunne extend $migrationLookupPluginIds to cover other plugins.
Alternatively, rewrite the logic to support all plugins which extend the base MigrateLookup plugin.

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

✨ Feature request
Status

Needs review

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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

Comments & Activities

Production build 0.71.5 2024