[BUGFIX] Extbase tries to overlay pages_language_overlay records 33/28333/2
authorStanislas Rolland <typo3@sjbr.ca>
Thu, 13 Mar 2014 01:46:22 +0000 (21:46 -0400)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 13 Mar 2014 20:54:24 +0000 (21:54 +0100)
commitacf40af285a07a0b9ba5318f464f3f6c34b24640
treecbb51b0a548273370f54d838ec26ac9ac092d771
parente8142e99e21115223d3b5b074a2e6b44f0466132
[BUGFIX] Extbase tries to overlay pages_language_overlay records

Method doLanguageAndWorkspaceOverlay of
Extbase\Persistence\Generic\Storage\Typo3DbBackend should not attempt
to get a parent record if the overlays are in a separate table (most
probably pages_language_overlay) by checking whether
$GLOBALS['TCA'][$tableName]['ctrl']['transOrigPointerTable'] is set.

Resolves: #56855
Releases: 6.0, 6.1, 6.2
Change-Id: I2cb53bc4733ee626ca0ae92e5dd91073d88ecc9d
Reviewed-on: https://review.typo3.org/28333
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Marc Bastian Heinrichs
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php