block_id and block_revision_id mismatch during replicate

Created on 18 April 2025, 27 days ago

Problem/Motivation

When creating a translation of a node, the content blocks are being cloned.
The cloned content block is saved to the database with a new block_id (OK) and new block_revision_id (OK).
The cloned content block is being added the cloned layout builder section component with the block_id of the original content block (NOT OK) and block_revision_id of the cloned block (OK).

Steps to reproduce

  • Create a node.
  • Add an inline content block and save the node.
  • Create a translation of the node.

Proposed resolution

Pass the new block_id to the layout builder section component.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium matthiasm11

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