- Issue created by @joachim
The migration lookup plugin assumes that if the migration in the lookup has a content entity destination, that the destination is configured with the 'default_bundle' property.
However, if the lookup migration is mapping the bundle field value in its process pipeline, and doesn't define 'default_bundle', the attempt to create a stub entity fails, because /ContentEntityStorageBase throws an exception for a missing bundle.
MigrateStub::createStub() has a $default_values parameter, which could be used to pass in the bundle field value.
However, the migration_lookup plugin doesn't pass anything to this.
Add a stub_default_values property to the migration_lookup plugin. Values for this are taken from the row and are passed to MigrateStub::createStub().
Active
11.0 π₯