[BUGFIX] Extbase tries to overlay pages_language_overlay records 62/28362/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:55:09 +0000 (21:55 +0100)
commit2a80fcdd502f267f1d2b3e82ad1d556404400c2a
tree3a90caf6e3c586c9b0ecf1dc37a9854a7d7aef1f
parent2ee35092a10fc9fa5cde4c342771db789b62e802
[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/28362
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php