Issue Bug Closed

#42075Copying fails when page has new draft elements 2 or more levels deep

Bart Dubelaar 10/17/12, 13:55 updated 10/02/18, 12:16

Description

When a page A has a draft subpage B which again has a draft subpage C, then a recursive copy of A will fail in the live workspace. This is because the initial placeholders for the drafts are included in the copy but the parent check fails for these. If the initial placeholders are excluded then the copy will succeed.

Steps to reproduce:
1. Enable recursive copying for user
2: Create a page A in the live workspace
3: Add a subpage B to A in a draft workspace
4: Add a subpage C to B in a draft workspace
5: Add a subpage D to A in the live workspace
6. Copy and paste A in the live workspace

You will get an error message and you will see that even though A is copied it does not include D, this is because the copying process has exited after the failure on the initial placeholders.

Holds for 4.5 up till 6.0.

Reviews 2