Problem/Motivation

We have a comment counter on the nodes' pages but it does not decrease when CM+ deleted comments.

Steps to reproduce

- Create a Topic, Page, etc.
- Add some comments to it
- The counter will increase
- Delete the comment
- The counter is not changed

Proposed resolution

Add cache invalidation on comment delete, the same as in Comment entity class on after comment save.

Comments

tBKoT created an issue. See original summary.

tbkot’s picture

Status: Active » Needs review
navneet0693’s picture

Status: Needs review » Reviewed & tested by the community
ribel’s picture

PR was merged and will be released in version 11.0.1 and above

tbsiqueira’s picture

Status: Reviewed & tested by the community » Fixed

  • ribel committed 7856235 on 11.0.x authored by tBKoT
    Issue #3258809 by tBKoT: Invalidate cache when comment deleted (#2692)...
tbsiqueira’s picture

Status: Fixed » Closed (fixed)

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