[TYPO3-core] RFC: #13818: tcemain versionSwap might break pages_language_overlay relations

Tolleiv.Nietsch info at tolleiv.de
Mon Mar 15 15:30:57 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=13818

Branches:
trunk

Problem:
During swapping within t3lib_tcemain::version_swap() the $keepFields 
might contain the "pid" field when "pages_language_overlay" records are 
swapped. This happens because the transOrigPointerField is kept (see 
#2314). But keeping the "pid" field is nothing which is anyhow desirable 
at this place, since this finally causes two offline records.

Solution:
The attached patch just makes sure that the transOrigPointerField is 
only kept if records are localized within the same table a.k.a is 
"transOrigPointerTable" is not set.

Additional information:
The issue itself was "introduced" with #2314 (rev 6193).

Cheers,
Tolleiv
-- 
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13818.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100315/23da19e7/attachment.txt>


More information about the TYPO3-team-core mailing list