[TYPO3-core] RFC #12666: Copying Record with TCEMain process cmdmap throws sql errors
Tolleiv.Nietsch
info at tolleiv.de
Thu Nov 19 10:01:20 CET 2009
Tolleiv.Nietsch schrieb:
> Hi,
> without testing it imho this would be the right check:
>
> if·(!t3lib_BEfunc::isTableLocalizable($table)·||·!empty($GLOBALS['TCA'][$table]['ctrl']['transForeignTable']))·{
>
>
> ...
> Cheers,
> Tolleiv
>
Hi,
technically this should be a followup of #8817 ... I just checked and
there was already a similar patch but nobody took care of it.
I also doubt that you where able to reproduce it with the "pages" table
in the way you posted it (there's a "if ($table == 'pages') return;" at
the beginning of that function) - but nevertheless that's still relevant.
I've attached a new version of the patch - would be nice if someone
could take care of it. Btw Olli run the same followup modifications for
the deleteL10nOverlayRecords method (#539).
Cheers,
Tolleiv
--
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0008817-copyL10nOverlays-followup.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091119/f48eb19a/attachment.txt>
More information about the TYPO3-team-core
mailing list