Project

General

Profile

Actions

Bug #17345

closed

Copying a page with related child records leads to duplicates of each children

Added by Oliver Hader almost 17 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
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

0005718_v3.patch (1.82 KB) 0005718_v3.patch Administrator Admin, 2007-06-18 16:47

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17340: IRRE children on the table pages get the pid of the parent page in pagetreeClosedOliver Hader2007-05-30

Actions
Actions #1

Updated by Oliver Hader almost 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.

Actions #2

Updated by Oliver Hader almost 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.

Actions #3

Updated by Oliver Hader over 16 years ago

Committed to SVN:
  • TYPO3_4-1 (rev. 2413)
  • Trunk (rev. 2414)
Actions

Also available in: Atom PDF