[BUGFIX] Load TCA to have showRecordFieldList available
authorSimon Apold <simonapold@googlemail.com>
Mon, 22 Aug 2011 08:17:04 +0000 (10:17 +0200)
committerTolleiv Nietsch <info@tolleiv.de>
Mon, 22 Aug 2011 08:17:04 +0000 (10:17 +0200)
Not loaded TCA avoids that the field-list in the diff-view
is trimmed down to the defined showRecordFieldList.

Change-Id: Ia6bf921726d7dd6da85a666365ce48c0ac6c16ae
Resolves: #28882
Releases: 4.6, 4.5

typo3/sysext/workspaces/Classes/ExtDirect/Server.php

index 3c62990..83e5896 100644 (file)
@@ -94,6 +94,7 @@ class tx_Workspaces_ExtDirect_Server extends tx_Workspaces_ExtDirect_AbstractHan
                $fieldsOfRecords = array_keys($liveRecord);
 
                // get field list from TCA configuration, if available
+               t3lib_div::loadTCA($parameter->table);
                if ($GLOBALS['TCA'][$parameter->table]) {
                        if ($GLOBALS['TCA'][$parameter->table]['interface']['showRecordFieldList']) {
                                $fieldsOfRecords = $GLOBALS['TCA'][$parameter->table]['interface']['showRecordFieldList'];