- Issue created by @joachim
This code in getPropertyPathDependencies(): expects to always get a dependency:
if ($property instanceof FieldStorageDefinitionInterface) {
$dependencies->addDependency('module', $property->getProvider());
}
but if the field is a base field, BaseFieldDefinition (which is a FieldStorageDefinitionInterface) can return NULL:
public function getProvider() {
return $this->definition['provider'] ?? NULL;
}
This then puts an empty dependency in the modules, and then a subsequent config import fails:
Configuration <em class="placeholder">search_api.index.dev_date_recur_search_api</em> depends on the <em class="placeholder"></em> module that will not
be installed after import.
Active
1.0
General code