Layout translation form reports unsaved changes and becomes stale

Created on 6 July 2021, over 3 years ago
Updated 29 May 2024, 7 months ago

After visiting a layout translation form, even if no modifications are made, any subsequent changes of the source layout are not reflected in the layout translation form.

:

  1. Create a layout builder node, and add a custom block to its layout. Save the layout.
  2. Create a translation of the node.
  3. Edit the layout of the translation. Do not make any changes, and do not click "Save" or "Discard".
  4. Edit the source layout and add a second custom block. Save the layout.
  5. Edit the layout of the translation again.

: The layout translation should contain two custom blocks. The "you have unsaved changes" message should not appear.
: The page only contains the first custom block, and displays the "you have unsaved changes" message, even though there are no unsaved changes.

Additional information: this appears to have been caused by https://www.drupal.org/commitlog/commit/2/9c7b7f7be26a1b9179010851e68004...

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

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