Attaching blocks in Layout builder for translated node isn’t working as expected

Created on 11 October 2024, 6 months ago

Problem/Motivation

Attaching blocks in Layout Builder for a translated node isn’t working as expected. The blocks get added to the original node instead of the translated node.

Steps to reproduce

  • Configure 2 languages,say, English (default) & French
  • Create 1 Content type: Landing Page. Enable Manage Layout
  • Create 1 Block type: Text
  • Enable layout_builder_at module. After installation, go to admin/config/regional/content-language to enable translation on the Layout fields under Landing Page CT.
  • Add content to Landing Page CT for English. Under layout, place the 'Text block' with English content.
  • Create translation (french), add French title, save & edit layout. Place the 'Text block' with English content. Save layout.

Expected result: The block with French content is available on the french node /fr/node/1. And the block with English content is available on the English node /en/node/1.

But current behaviour:No block is saved on the french node /fr/node/1. This block with French content replaces the block with English content and gets saved to English node /en/node/1!

Proposed resolution

NA

Remaining tasks

NA

User interface changes

NA

API changes

NA

Data model changes

NA

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India ankithashetty Karnataka, India

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

Comments & Activities

Production build 0.71.5 2024