Paragraph Content duplication

Created on 11 April 2024, 8 months ago
Updated 28 April 2024, 8 months ago

Problem/Motivation

Paragraph content added to layouts, then repeated further down the node.

Steps to reproduce

1. Configured new drupal instance with these modules only:
"composer/installers": "^1.9",
"drupal/core-composer-scaffold": "^9.1",
"drupal/core-project-message": "^9.1",
"drupal/core-recommended": "^9.3",
"drupal/layout_paragraphs": "^2.0",
"drupal/paragraphs": "^1.12",
"drush/drush": "^11.6"

PHP set to 8.1

2. Created a paragraph type with no fields. Set it to use layouts.

3. Create text paragraph with one field to hold test text.

4. Add paragraphs field to basic page content type.

5. Set paragraphs field on basic page content type to use layout widget on edit form.

6. Create test page, add a layout paragraph. Inside the layout add a text paragraph.

7. View page. Each text paragraph outputs twice.

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇺🇸United States ed2908

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

Comments & Activities

Production build 0.71.5 2024