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.
Entity assumes that modules always return well-formed entities to function _entity_defaults_rebuild.
When a module returns anything else (e.g. Features + Rules can return an array containing FALSE) Entity continues regardless and in that case causes a PDO Exception described in https://www.drupal.org/node/1309144#comment-11789996.
Comment | File | Size | Author |
---|---|---|---|
#4 | entity-rebuild-2829437-4.patch | 658 bytes | Alex Bukach |
#2 | entity-2829437-1-7.x-1.8.patch | 686 bytes | hughworm |
Comments
Comment #2
hughworm CreditAttribution: hughworm as a volunteer commentedI've made a simple patch to entity.module to prevent this.
Comment #3
hughworm CreditAttribution: hughworm as a volunteer commentedComment #4
Alex Bukach CreditAttribution: Alex Bukach commentedFixed path to file in the patch.
Comment #5
Liam MorlandUniversity of Waterloo has been running the patch in #4 successfully since May, 2017.
Comment #7
Liam MorlandThe patch in #4 passed testing today.