In some cases, messages are sent twice

Created on 20 May 2025, 5 days ago

Problem

When a message is sent as part of a redirect response, the message is sent multiple times. It does not get deleted from the session, so the next time it will be sent as well.

Steps to reproduce

- trigger a message, e.g. by submitting a node and redirecting elsewhere
- open /user?_format=custom_elements
- see the message as part of the response
- refresh, the message should be gone. However it stays.

Since this worked in the past, it might be a regression that slipped in with some core update.

Proposed resolution

The new feature 🐛 Messages sent with redirect responses cannot be server-rendered Active is a work-a-round. But better we should fix this for SSG sites also.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇦🇹Austria fago Vienna

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