[BUGFIX] Prevent sql errors with unsupported relation
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Sat, 17 Nov 2012 16:59:08 +0000 (17:59 +0100)
committerAlexander Schnitzler <typo3@alexanderschnitzler.de>
Mon, 19 Nov 2012 13:42:25 +0000 (14:42 +0100)
commite1bd13b2f6705ecc16f5aa96925f0072d8c57901
tree02445d176ee1b246807778e2fd43ebf72bb53d7a
parent4286b2e85d120d8c2121b9fce3bd698ee3f6f3e2
[BUGFIX] Prevent sql errors with unsupported relation

Using passthrough as relation causes sql errors
in the addUnionStatement of Typo3DbBackend. To
prevent this an Exception is introduced which will
be thrown instead.

Fixes: #27057
Releases: 6.0
Change-Id: I3e57d2b8c290e8f8b445278a3a25ffef15adbeb5
Reviewed-on: http://review.typo3.org/16537
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Tomasz Grzemski
Tested-by: Tomasz Grzemski
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/InvalidRelationConfigurationException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php