[BUGFIX] RTE transformation not executed 67/40467/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 19 Jun 2015 11:49:40 +0000 (13:49 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 20 Jun 2015 12:33:07 +0000 (14:33 +0200)
With moving the 4th TCA showitem field to defaultExtras in
columnsOverrides a bug was introduced, so the DataHandler no
longer executes RTE transformation. defaultExtras field
is parallel to config section, and not nested in there.

Resolves: #67614
Related: #67229
Releases: master
Change-Id: Ie6f21523ae3c63abbf69fd1623df92bec02e41fd
Reviewed-on: http://review.typo3.org/40467
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index f0b122f..7320088 100644 (file)
@@ -770,9 +770,9 @@ class BackendUtility {
                        foreach ($fieldList as $k => $v) {
                                list($pFieldName, $pAltTitle, $pPalette) = GeneralUtility::trimExplode(';', $v);
                                $defaultExtras = '';
-                               if (!empty($typesConf['columnsOverrides'][$pFieldName]['config']['defaultExtras'])) {
+                               if (!empty($typesConf['columnsOverrides'][$pFieldName]['defaultExtras'])) {
                                        // Use defaultExtras from columnsOverrides if given
-                                       $defaultExtras = $typesConf['columnsOverrides'][$pFieldName]['config']['defaultExtras'];
+                                       $defaultExtras = $typesConf['columnsOverrides'][$pFieldName]['defaultExtras'];
                                } elseif (!empty($GLOBALS['TCA'][$table]['columns'][$pFieldName]['defaultExtras'])) {
                                        // Use defaultExtras from columns if given
                                        $defaultExtras = $GLOBALS['TCA'][$table]['columns'][$pFieldName]['defaultExtras'];