[BUGFIX] Determine translations from transOrigPointerField instead of languageField 01/44101/9
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Fri, 16 Oct 2015 10:13:02 +0000 (12:13 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 19 Oct 2015 07:29:26 +0000 (09:29 +0200)
commitef67ca33b90ced3da15ade4ab102c244f445f9d9
tree7c1b5e54040765dd41759bf7fd645bc3e83f2c08
parent4012b988b9f6905429eabd1f1a44adc57b1c95f6
[BUGFIX] Determine translations from transOrigPointerField instead of languageField

The decision whether a record is a translation (and thus must overlay
another record is based upon languageField.
This is wrong because the decision must be based upon the field set in
transOrigPointerField.

Resolves: #32252
Releases: master
Change-Id: Ia4d83151ff302108241427873c2b56689c66fc1e
Reviewed-on: http://review.typo3.org/44101
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php
typo3/sysext/backend/Classes/Form/Element/NoneElement.php
typo3/sysext/backend/Tests/Unit/Form/Element/NoneElementTest.php