- Issue created by @quietone
- π³πΏNew Zealand quietone
Copying a comment I made in #migration
I looked at the requirements a bit., which are built by \Drupal\migrate\MigrateBuildDependencyInterface::buildDependencyMigration. I wanted to see if the calculated dependencies differ from migration_dependencies['required']. I chose to work with the node migration tests, d7/MigrateNodeTest.php and d7/MigrateNodeCompleteTest.php. It turns out that the calculated $requirements differed from the declared 'required' for d7_node, d7_node_entity_translation and probably d7_entity_translation as well. The calculated $requirements included 'd7_user_role' which is not listed in the migration_dependencies for these migrations.
Curiously, this was not true for d7_node_complete. I didn't figure out why there is a difference.