Section is not getting updated with the latest source section

Created on 20 June 2023, over 1 year ago
Updated 8 September 2023, about 1 year ago

Problem/Motivation

When trying to request a translation that has a section already save and then was change after making another request translation, the changes stayed on the original section ie, if there was a 1 col section and another 1 col section that was already save, and another request made, with 1 col section change to a 2 section col, it does not use that new layout.

Steps to reproduce

- Enable layout builder module
- Enabled tmgmt_asymmetric_block and all its dependencies module.
- Create a page with layout builder enabled
- Add 2 sections with the following
-- 1 section col
-- 1 section col
- Add a block for each section col
- Save the layout
- Translate the content
- Now go back and make a change to the layout builder
- Change one of the 1 section col to a 2 section col
- Re-translate that content
- Note that the layout now contains missing blocks due to mismatch layouts.

Proposed resolution

- Update the code to when layouts are change to re-clone and re-translate all the new blocks in that new section.

Remaining tasks

- Code fixes.

User interface changes

- None

API changes

- None

Data model changes

- None

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States johnle

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

Comments & Activities

Production build 0.71.5 2024