[BUGFIX] Prevent PHP errors with missing ColumnMap object
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Wed, 20 Feb 2013 09:47:31 +0000 (10:47 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 4 Mar 2013 11:26:31 +0000 (12:26 +0100)
commit471faa241000acbbeb9324b0243206b70a66ae52
treec82793cc7f2634fe011ac0ded1bf394eb4040e25
parentf807e7b38eefc1264632e56a36a342d83d508379
[BUGFIX] Prevent PHP errors with missing ColumnMap object

If the TCA configuration for an object is missing
no ColumnMap object is created by data mapper which leads
to PHP fatal errors in Typo3DbBackend.
Instead an Exception should be thrown.

This is a fixed version of the reverted commit reviewed in
https://review.typo3.org/16536

Releases: 6.0, 6.1
Fixes: #7267
Change-Id: Ie945d2e198c7ef8847a14a9c154c8bf7b8c372cf
Reviewed-on: https://review.typo3.org/18392
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Persistence/Generic/Exception/MissingColumnMapException.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php