Caching: tag rendered titles to become invalid when saving settings

Created on 23 May 2022, about 2 years ago
Updated 9 May 2024, about 2 months ago

Problem/Motivation

Updating the settings for Html Title is not causing an immediate invalidation of titles rendered with the old settings. This occurs because the cache tags for the config object that stores the settings are not being merged into the renderable when replacing with the html_title version of the title.

Steps to reproduce

  1. Install html_title
  2. Create a node, use a sup tag somewhere; save. Verify the node title gets the sup tag used as a HTML tag.
  3. Go to /admin/config/user-interface/html_title, remove the sup tag from the list. Save.
  4. Refresh the just-created node: the title is still using the sup tag

Proposed resolution

Merge the proper cache tag from the for html_title.settings config object into the renderable, each time the title is replaced with the html_title version.

Remaining tasks

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡΄Colombia jedihe

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

Merge Requests

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