Actions
Bug #17345
closedCopying a page with related child records leads to duplicates of each children
Start date:
2007-05-31
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When a page that contains several IRRE children gets copied, currenty to following happens:
- copy record of table "pages"
- copy each record with the pid of the source page to the new page (also all IRRE children)
- when an IRRE parent get copied, this calls recursively the copying of its children
Thus, the IRRE children get copied twice - by their parent record and by the page.
(issue imported from #M5718)
Files
Updated by Oliver Hader over 17 years ago
The attaches file 0005718.patch solves this issue. When a page gets copied and thus also all records on this page, it is now checked if these records have been copied before by the IRRE mechanism in TCEmain.
Updated by Oliver Hader over 17 years ago
I attached an new patch. The check is move to copyRecord() in TCEmain. The check on workspace copies was missing and integrated in the new patch.
Updated by Oliver Hader over 17 years ago
Committed to SVN:
- TYPO3_4-1 (rev. 2413)
- Trunk (rev. 2414)
Actions