- π¨π΄Colombia camilo.escobar
Patch in #37 π BaseFieldOverride fails to take into account ContentEntityInterface::bundleFieldDefinitions() when invoking onFieldDefinitionUpdate() Needs work worked for me.
I was getting the error below when saving the configuration in the Content Traslation page (/admin/config/regional/content-language). It generated override files for fields of one of the entities provided by the Recurring Events β module.
Then, after exporting the configuration and trying to import it in another environment, I got this:TypeError: Argument 2 passed to Drupal\Core\Entity\ContentEntityStorageBase::onFieldDefinitionUpdate() must implement interface Drupal\Core\Field\FieldDefinitionInterface, null given, called in /app/web/core/lib/Drupal/Core/Field/Entity/Base FieldOverride.php
Thanks for looking into this and providing the patch.
- last update
about 1 year ago 30,357 pass, 1 fail - last update
about 1 year ago 30,368 pass - π¬π§United Kingdom robcarr Perthshire, Scotland
The patch at #37 has helped me on D9.5
I'd been trying to uninstall modules and getting lots WSOD/errors:
TypeError: Drupal\Core\Entity\ContentEntityStorageBase::onFieldDefinitionUpdate(): Argument #1 ($field_definition) must be of type Drupal\Core\Field\FieldDefinitionInterface, null given, called in web/core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php on line 222 in Drupal\Core\Entity\ContentEntityStorageBase->onFieldDefinitionUpdate() (line 546 of web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php)
- π¨π¦Canada smulvih2 Canada π
#37 also worked for me on D9.5.8. Was getting the same error as #68.
- πͺπΈSpain pcambra Spain, πͺπΊ
Just stating that in my 9.5.10 install #37 didn't work but #39 did
- last update
8 months ago Patch Failed to Apply - last update
8 months ago 29,678 pass - last update
8 months ago 29,678 pass - πΊπΈUnited States alfattal Minnesota
Patch in #71 worked for me. I'm on Drupal 10.1.6, PHP 8.1.
- last update
6 months ago Build Successful - last update
6 months ago Custom Commands Failed