Cloning entites with Content Moderation module breaks the layout

Created on 5 August 2025, 2 months ago

Problem/Motivation

While cloning the entity with content moderation it breaks the layout.

Steps to reproduce

Install layout_paragraphs and content moderation.
Configure the content moderation module to have draft, published, archived.
Create a node with layout paragraph with a layout.
Add a text component inside the layout paragraph.
Publish the node.
Edit the node and follow the same steps 3,4 but save it as draft.
Try to replicate the entity.
Layout will be broken

Proposed resolution

Add a module handler to verify the module installed.
Get the latest version and process the data.

💬 Support request
Status

Active

Version

2.1

Component

Code

Created by

🇮🇳India sakthi_dev

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