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.

Comments

webflo’s picture

Status: Active » Needs review
StatusFileSize
new2.28 KB

Patch with regression test.

catch’s picture

Status: Needs review » Fixed

Thanks! Committed/pushed to 7.x-1.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.