Problem/Motivation

Block with paragraphs does not clone correctly and crash when save the layout.

Steps to reproduce

  1. Create a block.
  2. Add paragraphs as a revision entity reference.
  3. Save the block and add it to the library.
  4. Import from the library and choose the above block.
  5. Save the page layout.
  6. Then get a UUID duplication error.

Proposed resolution

Refactor cloneReferencedEntities() function and add Paragraphs espcial cases, since it's not using referencedEntities() method.
Please check #3089724 for further information.

Comments

mahmoud-zayed created an issue. See original summary.

  • mahmoud-zayed committed 10d6441 on 1.0.x
    Issue #3226370 by mahmoud-zayed: Block with paragraphs does not clone...
mahmoud-zayed’s picture

Assigned: mahmoud-zayed » Unassigned
Issue summary: View changes
Status: Needs work » Fixed
mahmoud-zayed’s picture

Status: Fixed » Closed (fixed)