Cannot discard layout builder changes with destination in URL query

Created on 8 September 2023, 10 months ago
Updated 16 April 2024, 2 months ago

Problem/Motivation

When visiting a node layout builder page from /admin/content, and then clicking "Discard changes" button, the user is redirected back to /admin/content instead of confirmation page, and thus the changes are not discarded.

Steps to reproduce

Navigate to /admin/content
Click "Layout" action for any node
Click "Discard changes" button on the layout page
Get redirected back to /admin/content

Proposed resolution

Force redirect user to confirmation page.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Closed: cannot reproduce

Version

11.0 🔥

Component
Layout builder 

Last updated about 10 hours ago

Created by

🇨🇾Cyprus Alex Bukach

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024