Comments on parent node not being displayed.

Created on 29 March 2024, 9 months ago
Updated 30 March 2024, 9 months ago

Problem/Motivation

Any newly added comments are not being displayed on a node, until the cache is cleared.

Steps to reproduce

  • Start by creating a brand new Article node and attempt to add comments to it. The comments will not be displayed until the cache is cleared.
  • Continue adding at least three comments and mark one of those comments as bestreply. Now reload the page and you will see the additional comments that were not previously displayed.

Proposed resolution

Since the cache tag was added, it automatically now controls when the cache of the parent node that contains the comments is invalidated. Rather than introduce a cache tag, we can just use the built-in node cache, and invalidate that when a bestreply is marked/cleared.

Remaining tasks

Implement the fix and commit the change.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevgrob

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024