Sourceless migration plugins are broken

Created on 8 September 2016, over 8 years ago
Updated 4 March 2025, 3 days ago

Problem/Motivation

When trying to resurrect #2625696-66: Make migrations themselves plugins instead of config entities β†’ in contrib like

id: migration_config_deriver
deriver: Drupal\migrate_plus\Plugin\MigrationConfigDeriver

this then return $source_plugin_manager->hasDefinition($definition['source']['plugin']); in NoSourcePluginDecorator first throws a notice because source is not defined in the config migration at all and then it gets filtered out because there is no source plugin with an empty id.

Proposed resolution

Allow through sourceless migrations.

Remaining tasks

Add a test.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component

migration system

Created by

πŸ‡ΊπŸ‡ΈUnited States mikeryan Murphysboro, IL, USA

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