Problem/Motivation

The content tools currently cannot round-trip entity_reference_revisions fields: paragraph references lose their behavior_settings (used by e.g. Layout Paragraphs for layout/region placement and parent references), so reading and re-writing a node with paragraphs corrupts its layout.

Proposed resolution

Teach the field serialization/deserialization layer to handle entity_reference_revisions items including their behavior_settings, and to resolve Layout Paragraphs parent references between sibling paragraph items.

Comments

julien created an issue. See original summary.

julien’s picture

Status: Active » Needs review
StatusFileSize
new4.54 KB

Attaching the patch

julien’s picture

Issue summary: View changes
mowens’s picture

Status: Needs review » Fixed

Shipped in beta15. One fix: plain target_id items now pass through instead of being dropped. inline creation, behavior_settings, parent_ref all work as written. Thanks for your help. Paragraphs always break something small.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.