Project

General

Profile

Actions

Bug #21613

closed

Copying Record with TCEMain processCmdMap throws sql errors...

Added by Susanne Moog about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2009-11-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Copying Record with TCEMain processCmdMap throws sql errors on pages with f.e. sys_template or sys_domain records.

Reproduce:

Put this in the constructor of f.e. your backend.php and replace the first number with the id of a page that has one of the mentioned records, and the second one with the target page:

$tce = t3lib_div::makeInstance('t3lib_TCEmain');
$cmd['pages'][41]['copy'] = 42;
$tce->start(array(),$cmd);
if($cmd) {
$tce->process_cmdmap();
}

(issue imported from #M12666)


Files

tcemaincopy.patch (1.16 KB) tcemaincopy.patch Administrator Admin, 2009-11-18 23:14
Actions

Also available in: Atom PDF