[BUGFIX] RTE transformation not executed 40/40540/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 19 Jun 2015 11:49:40 +0000 (13:49 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 22 Jun 2015 19:28:32 +0000 (21:28 +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/40540
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index c2a141e..fc54536 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'];