MigrationGroup shared configuration breaks UI

Created on 6 April 2020, over 5 years ago
Updated 15 August 2022, almost 3 years ago

From Migrate Plus:

MigrationGroup configuration entities [...] allow configuration to be shared among multiple migrations.

Shared configs works beautifully whenever we run such migrations via Drush, or trigger them programmatically. However, they break the UI provided by Migrate Tools. Either visiting an individual migration page (/admin/structure/migrate/manage/<migration_group>/migrations/<migration>) or trying to trigger an import (/admin/structure/migrate/manage/<migration_group>/migrations/<migration>/execute) fail with:

The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\migrate\Plugin\Migration::getProcessNormalized() must be of the type array, null given, called in /app/web/core/modules/migrate/src/Plugin/Migration.php on line 640 in Drupal\migrate\Plugin\Migration->getProcessNormalized() (line 396 of core/modules/migrate/src/Plugin/Migration.php).

While Migrate Plus is responsible for the shared group configuration functionality, since the failure is in the UI, provided by Migrate Tools, I'm posting this bug report here.

๐Ÿ› Bug report
Status

Needs work

Version

6.0

Component

Web UI

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada ergonlogic Montrรฉal, Quรฉbec ๐Ÿ‡จ๐Ÿ‡ฆ

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024