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

Dmitry Dulepov dmitry at typo3.org
Fri Jun 8 16:31:59 CEST 2007


Hi!

Oliver Hader wrote:
> 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.

Looks very logical to me. +1.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-team-core mailing list