[BUGFIX] Prevent sql errors with missing ColumnMap
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Sat, 17 Nov 2012 16:59:08 +0000 (17:59 +0100)
committerAlexander Schnitzler <typo3@alexanderschnitzler.de>
Sat, 5 Jan 2013 19:40:59 +0000 (20:40 +0100)
commit7b1a1b057d21d150e652c580ea124368ff4a464f
treefe383d869fd77b9044a4932d1bb7c1570a9d3a31
parentf065089edb50dc2675cee4f999919e468714ed5d
[BUGFIX] Prevent sql errors with missing ColumnMap

If the TCA configuration for an object is missing
no ColumnMap can be generated which leads to sql
errors in method addUnionStatement in Typo3DbBackend.
Instead an Exception should be thrown.

Releases: 6.0, 6.1
Fixes: #7267
Change-Id: Ie364d2199be3d1e0128811e0cc41ff7ad210324b
Reviewed-on: https://review.typo3.org/16536
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/MissingColumnMapException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php