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.
When I delete the last comment of an entity the corresponding node/entity cache is not rebuild. So the cid in the node-object is not correct, as it is the old cid of the not anymore existing comment...
Clearing complete cache solves this.
Comment | File | Size | Author |
---|---|---|---|
#1 | entitycache-flush-node-cache-after-comment-deletion-1401480-2.patch | 2.28 KB | webflo |
Comments
Comment #1
webflo CreditAttribution: webflo commentedPatch with regression test.
Comment #2
catchThanks! Committed/pushed to 7.x-1.x