Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
contact_storage_entity_base_field_info()
still explicitly sets the provider of the ID field, even though this is no longer necessary. The @todo
mentions #1498720: [meta] Make the entity storage system handle changes in the entity and field schema definitions which has long been fixed.
Proposed resolution
Remove the call to setProvider()
.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#5 | 2476637-no-more-provider.patch | 740 bytes | jibran |
#1 | 2476637-no-more-provider.patch | 740 bytes | tstoeckler |
Comments
Comment #1
tstoecklerHere we go.
Comment #3
andypostThis setting looks needed, or should be converted to alter hook.
See related issue about troubles
Comment #4
andypostLooks that part just need to be moved cos provider is still used
Also related issue stuck with that
Comment #5
jibranRe-uploading to test.
Comment #6
jibranIt's RTBC for me. @andypost can you expand on #4.
Comment #7
jibranWe have another #2866189: Error on UNISTALL - Mismatched entity and/or field definitions.
Comment #9
BerdirCommitted.
Comment #11
O'Briat CreditAttribution: O'Briat commentedFor those who just uninstall this version of the module, execute the following code (via drush php or via hook_update) :