When running a migration using migrate on 8.6.16, it will attempt to load all the available plugins and crashes on this:
Drupal\migrate\Plugin\Exception\BadPluginDefinitionException: The d7_path_redirect plugin must define the source_module property. in [error]
/var/www/html/app/core/modules/migrate_drupal/src/MigrationPluginManager.php:104
Stack trace:
#0 /var/www/html/app/core/modules/migrate/src/Plugin/MigrationPluginManager.php(264):
Drupal\migrate_drupal\MigrationPluginManager->processDefinition(Array, 'd7_path_redirec...')
#1 /var/www/html/app/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(175): Drupal\migrate\Plugin\MigrationPluginManager->findDefinitions()
#2 /var/www/html/app/core/modules/migrate/src/Plugin/MigrationPluginManager.php(109): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#3 /var/www/html/app/modules/contrib/migrate_tools/migrate_tools.drush.inc(518): Drupal\migrate\Plugin\MigrationPluginManager->createInstances(Array)
#4 /var/www/html/app/modules/contrib/migrate_tools/migrate_tools.drush.inc(265): drush_migrate_tools_migration_list('expert_files')
#5 /home/wodby/.composer/vendor/drush/drush/includes/command.inc(422): drush_migrate_tools_migrate_import('expert_files')
#6 /home/wodby/.composer/vendor/drush/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#7 /home/wodby/.composer/vendor/drush/drush/includes/command.inc(199): drush_command('expert_files')
#8 /home/wodby/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#9 /home/wodby/.composer/vendor/drush/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#10 /home/wodby/.composer/vendor/drush/drush/drush.php(12): drush_main()
#11 {main}
It seems the following value is missing:
source_module = "redirect"
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | redirect-3060311-missing-source-module-4.patch | 1014 bytes | richardmo |
| #5 | redirect-3060311-missing-source-module-3.patch | 3.08 KB | richardmo |
| #3 | redirect-3060311-missing-source-module-2.patch | 2 KB | richardmo |
| #2 | redirect-3060311-missing-source-module.patch | 1.76 KB | richardmo |
Comments
Comment #2
richardmo commentedComment #3
richardmo commentedComment #4
richardmo commentedComment #5
richardmo commentedComment #6
richardmo commentedComment #7
avpaderno