[BUGFIX] RTE wizard can't "save document and view page" 11/20111/6
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 23 Apr 2013 15:47:46 +0000 (11:47 -0400)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 28 Jul 2013 18:10:14 +0000 (20:10 +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/20111
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/Form/FormEngine.php

index c9f25b9..055efc7 100644 (file)
@@ -3964,7 +3964,10 @@ function ' . $evalData . '(value) {
                                                        if (!$wConf['notNewRecords'] || MathUtility::canBeInterpretedAsInteger($row['uid'])) {
                                                                // Setting &P array contents:
                                                                $params = array();
-                                                               $params['fieldConfig'] = $fieldConfig;
+                                                               // Including the full fieldConfig from TCA may produce too long an URL
+                                                               if ($wid != 'RTE') {
+                                                                       $params['fieldConfig'] = $fieldConfig;
+                                                               }
                                                                $params['params'] = $wConf['params'];
                                                                $params['exampleImg'] = $wConf['exampleImg'];
                                                                $params['table'] = $table;