[TYPO3-core] RFC: Bug 5718: IRRE - Copying a page with related child records leads to duplicates of each children

Oliver Hader oh at inpublica.de
Sat Jul 14 16:11:11 CEST 2007

FYI: Committed to SVN:
* TYPO3_4-1 (rev. 2413)
* Trunk (rev. 2414)


Oliver Hader schrieb:
> This is a SVN patch request.
> Problem:
> 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.
> Solution:
> Prevent IRRE children from being copied twice on checking TCEmain's
> $copyMappingArray which holds the table and uid of records that were
> already copied.
> Comments:
> This is a bugfix concerning IRRE: If nobody objects within one week,
> I'll commit this change to SVN.
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=5718
> Branches: TYPO3_4-1 & Trunk
Oliver Hader

More information about the TYPO3-team-core mailing list