Render cache not cleared on deleting comment?

Created on 9 September 2018, almost 6 years ago
Updated 3 February 2023, over 1 year ago

I have a view field handler (extending FieldPluginBase) that displays if a specified user has commented on a node by reading and looping through its comments.

If there are no comments and the user adds one, the render cache is correctly cleared and the field updates.
But if I delete the user's comment from an administrator login, I have to manually clear the render cache for the view to update.

(The view is using tag-based caching.)

πŸ› Bug report
Status

Needs work

Version

9.5

Component
CommentΒ  β†’

Last updated 2 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom wturrell

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024