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

Susanne Moog typo3 at susannemoog.de
Mon Apr 5 10:55:03 CEST 2010


Hi Tolleiv,

On 15.03.2010 15:30, Tolleiv.Nietsch wrote:
> 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).

+1 by reading, looks reasonable. I don't know how to easily test this,
do you have an idea / extension?

Best regards,

Susanne


More information about the TYPO3-team-core mailing list