[BUGFIX] Changing TCA via Tools->Configuration breaks TCA
authorMarkus Klein <klein.t3@mfc-linz.at>
Fri, 4 Mar 2011 12:22:50 +0000 (13:22 +0100)
committerSteffen Gebert <steffen.gebert@typo3.org>
Thu, 10 Mar 2011 22:05:42 +0000 (23:05 +0100)
commit42da5edaab8d29e99bc69475e5aa4eb74b205691
treeafe4cc51e33b05c34b2578dae641e723cf93795a
parent823df3d9a8d892e2116875906ea296a1dc7116a2
[BUGFIX] Changing TCA via Tools->Configuration breaks TCA

Changing the TCA (especially the columns-part of a table) via
Tools->Configuration breaks eg. the list module.
Tools->Configuration writes strings like
$GLOBALS['TCA']['tt_news']['columns']['image']['config']['allowed'] = 'jpg';
to typo3conf/extTables.php.

However, a call to loadTCA($table) call is not added before, so
the TCA array is incomplete. Furthermore if you set the columns part
in extTables.php any proceeding call to loadTCA will not work, since
'columns' is already defined.

Change-Id: I98cf3b2a570a06fe13ca69e99d8f18e0c35a30d3
Resolves: #M17754
Reviewed-on: http://review.typo3.org/1128
Reviewed-by: Steffen Gebert <steffen.gebert@typo3.org>
Tested-by: Steffen Gebert <steffen.gebert@typo3.org>
Reviewed-by: Markus Klein <klein.t3@mfc-linz.at>
Tested-by: Markus Klein <klein.t3@mfc-linz.at>
typo3/sysext/lowlevel/config/index.php