Popup not displayed when content changes

Created on 21 July 2023, 12 months ago
Updated 2 August 2023, 11 months ago

Problem/Motivation

The popup message stays hidden even when content changes.

Steps to reproduce

  1. Set up a popup message at /admin/config/user-interface/popup-message
  2. Visit a non-admin page and check that the message is shown
  3. Reload the non-admin page and check that the message doesn't show up again
  4. Change the message (/admin/config/user-interface/popup-message)
  5. Reload the user-facing page

Expected behavior: the new message shows up
Actual behavior: the new message does NOT shows up

Proposed resolution

Store a message content hash and invalidate the cookie when the hash changes.

Remaining tasks

  • Validate the proposed solution
  • Write a patch
  • Reviews

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇮🇹Italy plach Venezia

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

Comments & Activities

Production build 0.69.0 2024