Paragraphs parent IDs are wrong

Created on 7 May 2024, about 2 months ago
Updated 8 May 2024, about 2 months ago

Problem/Motivation

When pulling paragraphs, their "parent_id" attribute is equal to the value from the source site while it can be different on the target site.

Steps to reproduce

* Create a node type with a paragraph field.
* Create a new node of that type on source and target sites (to make sure the ID of a newly pulled node differs from one on the source site).
* Pull the node from source to target site using Entity Share.
* Check the "parent_id" of the pulled paragraph and see it is equal to one on the source site and generally not equal to the actual parent on the target site.

Proposed resolution

* Expose paragraph parent UUID in JSON:API
* Use the UUID to set a proper parent ID.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

πŸ‡¨πŸ‡ΎCyprus Alex Bukach

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

Comments & Activities

Production build 0.69.0 2024