Skip to content

nested element draft site sync#19293

Open
i-just wants to merge 2 commits into
5.xfrom
bugfix/19277-nested-element-draft-site-sync
Open

nested element draft site sync#19293
i-just wants to merge 2 commits into
5.xfrom
bugfix/19277-nested-element-draft-site-sync

Conversation

@i-just

@i-just i-just commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Description

Follow up to #17650.

When duplicating an element, check if it’s a derivative, not just a draft.
This should prevent the reported integrity constraint violation error.

I also added a unit test that Claude wrote for this particular issue.

Note: I was not able to reproduce this manually, as I was not able to get it to a state where the content block’s derivative was not propagated to the new site along with the owner’s draft.

Related issues

#19277

@i-just
i-just marked this pull request as ready for review July 23, 2026 10:58
@i-just
i-just requested a review from brandonkelly July 23, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant