Cloning Entities with Layout Paragraphs breaks structure and moves subparagraphs into Disabled Items

Created on 10 June 2021, about 3 years ago
Updated 28 August 2023, 10 months ago

Problem/Motivation

https://www.drupal.org/project/layout_paragraphs β†’ is becoming more and more popular. Using Entity Clone to clone a node containing a layout paragraph results in broken structure as the contained paragraphs are moved into "Disabled" region.

Same with Quick Node Clone:
The absolutely same thing happens in https://www.drupal.org/project/quick_node_clone β†’ so if we find the reason, we should fix it in both modules. See the related issue: πŸ› Cloning Entities with Layout Paragraphs breaks structure and moves subparagraphs into Disabled Items RTBC

πŸ› Nested paragraph support RTBC might be related, but the patch didn't fix anything for me.

Steps to reproduce

Use layout_paragraphs (1.x) in an entity
Clone the entity
See the paragraph elements in "Disabled" instead of their parent paragraph (broken structure)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

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

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