Issue Bug Closed

#21613Copying Record with TCEMain processCmdMap throws sql errors...

Susanne Moog 11/18/09, 23:14 updated 08/06/10, 13:31

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.