[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)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Thu, 10 Mar 2011 19:52:03 +0000 (20:52 +0100)
commit246e57d484123fcf2617d758118ade456bb124a5
treeb4b13bb7f4b9079b8778e6fb807a3eaf41c8d9eb
parentcde6deb1c6bf9e3042f748035b7217d1e4120898
[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: Ifc4103cdd04b6b063e3d099b5c5ccb47dfb7d442
Resolves: #M17754
Reviewed-on: http://review.typo3.org/1043
Reviewed-by: Steffen Gebert <steffen.gebert@typo3.org>
Tested-by: Steffen Gebert <steffen.gebert@typo3.org>
Reviewed-by: Stefan Galinski <stefan.galinski@gmail.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/lowlevel/config/index.php