[TYPO3-core] RFC: Feature #15988: Refactor TCA definitions of table pages
Oliver Hader
oliver at typo3.org
Fri Oct 15 14:10:07 CEST 2010
Hi Steffen,
Am 15.10.10 13:00, schrieb Steffen Kamper:
> Hi Olly,
>
> there is a problem as the columns array is null when extensions add
> columns.
> This is the case with realurl
> Fatal error: Unsupported operand types in
> C:\xampp\htdocs\intro45\typo3conf\ext\realurl\ext_tables.php on line 50
>
> as there is
> $TCA['pages']['columns'] += array( ...
> (btw realurl should use the API)
Thanks for your review. Indeed realurl should load the columns by
calling t3lib_div::loadTCA('pages'). However, since the
dynamicConfigFile was not present until now, it's just the regular case
for the table pages.
I've added that loadTCA() call after the part where the pages table got
initialized.
olly
--
Oliver Hader
TYPO3 v4 Core Team Leader
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015988_v3.patch
Type: text/x-patch
Size: 51420 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101015/378b7deb/attachment-0001.bin>
More information about the TYPO3-team-core
mailing list