#21613Copying Record with TCEMain processCmdMap throws sql errors...
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.