Paragraph with image or media field has incorrect parent uuid

Created on 16 October 2023, 12 months ago
Updated 26 October 2023, 11 months ago

Problem/Motivation

Paragraph with image or media field has incorrect parent uuid and therefore not rendered or appear in the node edit form

Steps to reproduce

Create a paragraph bundle with an image or media reference field. Add paragraph bundle to node and review the parent uuid in the paragraphs_item_field_data behavior_settings column. The uuid assigned to the bundle is it's own uuid and not the parent's . This occur regardless of whether or not the paragraph bundle is nested in a layout.

When I edit the paragraph before I save the changes, I get the following error:
"\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /layout-paragraphs-builder/a715b00ff31f1effd8bce9ba133e7ddf/edit/029d4211-ced2-4197-9efc-c66df2ff67d6?_wrapper_format=drupal_dialog&ajax_form=1\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Please try again later."

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sharkbaitdc

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024