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