[BUGFIX] RTE wizard can't "save document and view page" 46/22646/2
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 23 Apr 2013 15:47:46 +0000 (11:47 -0400)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 30 Jul 2013 22:07:37 +0000 (00:07 +0200)
Including the full fieldConfig from TCA may produce too long an URL.
In IE, the RTE wizard simply does not open.

Solution: Remove the fieldConfig parameter not used by the RTE wizard.

Revolves: #43637
Resolves: #43631
Releases: 4.5, 4.7, 6.0, 6.1, 6.2
Change-Id: Idd855d56d6a7ed92d40d9a788bc11efb3f535ed3
Reviewed-on: https://review.typo3.org/22646
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/Form/FormEngine.php

index 9cd01c6..8e9ed88 100644 (file)
@@ -3956,7 +3956,9 @@ function ' . $evalData . '(value) {
                                                if (!$wConf['notNewRecords'] || \TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($row['uid'])) {
                                                        // Setting &P array contents:
                                                        $params = array();
-                                                       $params['fieldConfig'] = $fieldConfig;
+                                                       if ($wid != 'RTE') {
+                                                               $params['fieldConfig'] = $fieldConfig;
+                                                       }
                                                        $params['params'] = $wConf['params'];
                                                        $params['exampleImg'] = $wConf['exampleImg'];
                                                        $params['table'] = $table;