D6 migration fails after completing node migration, leaving the following in the dblog:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "book" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 57 of /Users/mryan/Sites/d8/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Comments
Comment #1
mikeryanThis happens when the book module is not enabled in D8. We need to handle this more gracefully (I suspect migrate_drupal will probably be the place that needs fixing).
Comment #2
mikeryanComment #3
anavarreConfirmed. If you get a failing migration because the Book module hasn't been enabled on the D8 site, then, it'll also create an empty book.settings.yml file instead of having the default:
When the Book module is enabled, the migration completes but returns the below error:
Comment #4
mikeryanThe template support addressed this - requirements are checked before saving migrations, so in this scenario the book migrations are never saved.