Missing cache tags for page manager pages using default meta tags variant

Created on 15 July 2024, 4 months ago

Problem/Motivation

Missing cache tags of Metatag defaults entity for the page manager variants.
The cached page rendered via page manager and using meta tags as `default meta tags` variant is not invalidated on update.

Steps to reproduce

1. Add page manager variant (page).
2. Add `default meta tags` variant for the PM variant.
3. Visit page as anonymous, get the cached page.
4. Update/Translate the meta tags variant.
5. Revisit the page. The page is still cached and not invalidate, shows stale meta.

Proposed resolution

Add cache tags of the metatag_defaults config entity with hook_page_attachments.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Panels integration

Created by

πŸ‡¬πŸ‡ͺGeorgia maximkashuba Batumi

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