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.
If you use Entity Cache and Drupal caches get flushed before the module, that contains an entity, is completely enabled; you get errors like this:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbname.cache_entity_field_collection_item' doesn't exist
I feel the only responsibility for the Entity API module is to flush the cache tables it created itself, instead of all possible cache tables from all entities that support Entity Cache.
Comment | File | Size | Author |
---|---|---|---|
#1 | entity-dont_flush_non_existing_entity_cache_tables-2455361-1.patch | 754 bytes | PieterDC |
Comments
Comment #1
PieterDCPatch attached. Needs review.
Comment #2
iSoLate CreditAttribution: iSoLate at Randstad Digital for Government of Flanders commentedHaven't had the exception since using this patch.
Comment #3
Christopher Riley CreditAttribution: Christopher Riley commentedCan we get this committed please?
Comment #5
fagothx, committed.