Bug #42075
closed
Copying fails when page has new draft elements 2 or more levels deep
Added by Bart Dubelaar about 12 years ago.
Updated about 6 years ago.
Category:
DataHandler aka TCEmain
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.
Probably fixable by extending the patch for #36946 to also omit initial placeholders when copying pages, which is handled in a separate copy function and not the general one.
- Status changed from New to Under Review
Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/11076
Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/11076
Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/11076
Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/11076
Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/11076
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF