Provide list cache tags for Block

Created on 21 December 2022, about 2 years ago
Updated 1 November 2023, about 1 year ago

Problem/Motivation

When you place a Site Setting Block and you create a new Site Setting Entity, the cache of the Block is not cleared.

Steps to reproduce

  1. Make sure cache is enabled
  2. Create Site Setting Type
  3. Place Site Setting Block
  4. Visit page
  5. Create new Site Setting
  6. Visit page and see that the new Site Setting is not displayed

Proposed resolution

Add the correct Site Setting Entity list cache tag to Block build.

Remaining tasks

Add tests?

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

1.19

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands MisterMarb

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.71.5 2024