migrate_plus dependency missing in .info.yml, causing fatal error when accessing /admin/structure/migrate

Created on 18 July 2025, 16 days ago

Problem/Motivation

Migrate Tools 6.1.x adds routes that depend on the migration_group entity, which is defined by Migrate Plus. However, migrate_plus is not listed as a dependency. As a result, accessing /admin/structure/migrate without Migrate Plus enabled causes a fatal PluginNotFoundException. This affects both 6.1.0 and 6.1.1. Issue #3534606 🐛 hook_config_schema_info_alter injected optional migrate_plus config schema Active fixed schema errors, but not this runtime dependency.

Steps to reproduce

  1. Install Migrate Tools 6.1.1 without enabling Migrate Plus.
  2. Ensure the Migrate Plus module is not installed or enabled.
  3. Navigate to /admin/structure/migrate.
  4. Observe the fatal error:
    Drupal\Component\Plugin\Exception\PluginNotFoundException: The "migration_group" entity type does not exist in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).
        

Proposed resolution

Update migrate_tools.info.yml to include the missing dependency:

dependencies:
  - drupal:migrate
  - drupal:migrate_plus

This would enforce the expected runtime environment and help prevent fatal errors when Migrate Plus is not enabled.

Remaining tasks

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

6.1

Component

Code

Created by

🇦🇺Australia tarawij

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

Comments & Activities

Production build 0.71.5 2024