[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
Fri Jun 8 12:41:33 CEST 2007


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


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005718.patch
Type: text/x-diff
Size: 1001 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070608/bf30edee/attachment.bin 


More information about the TYPO3-team-core mailing list