Cache metadata of individual blocks are not taken into account when rendering blocks in quicktabs

Created on 28 September 2023, about 1 year ago

Problem/Motivation

Steps to reproduce

  • Create a custom block programatically. Let's call it `CustomBlock`.
  • Add `getCacheTags()` method to it and set some cache tags.
  • Use this block in quicktab.
  • Verify if the quicktab block contains the cache tags of `CustomBlock`. This can be verified from the `cache_render` table where `cid` column will contain the id of the quicktab block.
  • It will be seen those cache tags are not present.

This causes problem with cache invalidity.

Proposed resolution

Consider the cache metadata set at block level and merge it to the cache metadata of the quicktab block.

Remaining tasks

NA

User interface changes

NA

API changes

NA

Data model changes

NA

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India Vivek Panicker Kolkata

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

Comments & Activities

Production build 0.71.5 2024