`Duplicate` action does not generate new UUIDs for components in slots, resulting in duplicate UUIDs

Created on 6 September 2024, 11 days ago
Updated 16 September 2024, about 1 hour ago

Overview

Clicking duplicate on the Two Column layout crashes the page.

Proposed resolution

I suspect the issue is that the slots and children in the layoutModel data are not being given new UUID's in layoutModelSlice.ts::duplicateNode - a recursive function to rename the UUID's in the layout and create new values with those UUID's in the model is required here

User interface changes

πŸ› Bug report
Status

Needs work

Component

Page builder

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024