Cache is not invalidated when an entity is deleted.

Comments

aludescher created an issue. See original summary.

aludescher’s picture

StatusFileSize
new786 bytes

This patch adds a hook_entity_delete() implementation.

fago’s picture

Status: Active » Closed (works as designed)

Deletions are not handled by list cache tags like the list of pbulished nodes. As the docs say it:
> * 2. Published entities which stay published are invalidated via
> * entity_type:id (eg node:123).

If node:123 is shown the node:123 cache tag must be added and upon deletion of node:123 it's invalidated via that.