[TYPO3-core] RFC: #12719: Bugfix - tcemain copy/move/deleteL10nOverlayRecords is not fully versioning-aware
Tolleiv.Nietsch
info at tolleiv.de
Tue Nov 24 11:27:12 CET 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=12719
Branches:
trunk
Problem:
At the moment the copyL10nOverlayRecords, moveL10nOverayRecords and
deleteL10nOverlayRecords methods (within t3lib_tcemain, introduced with
4.3) just use "any" record localization. This causes problems when a
version of the localized record exists. In this cause the subcommands
might operate on the wrong version of this record.
Solution:
Due to the fact that all the triggered methods (copyRecord, moveRecord
and deleteAction) are workspace-aware they should only get live-uid's
and determine the context on their own.
Notes:
The attached patch also removes two calls to t3lib_div::loadTCA() -
these aren't needed within the copy/move/deleteL10nOverlayRecord methods
because these methods only operate on $TCA[$table]['ctrl'] parts.
Cheers,
Tolleiv
--
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0012719-copymovedeleteL10nRecordsWithVersions.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091124/fc926018/attachment.asc>
More information about the TYPO3-team-core
mailing list