[BUGFIX] Wrong call to TSFE in FrontendEditing
authorSteffen Ritter <info@rs-websystems.de>
Fri, 7 Sep 2012 12:10:20 +0000 (14:10 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Tue, 11 Sep 2012 16:01:48 +0000 (18:01 +0200)
The FrontendEditingController calls TSFE->includeTCA right
before the index_ts.php calls TSFE->getCompressedTCA().

Because of the missing parameter within the
FrontendEditingController, getCompressedTCA wil not be
executed anymore. As an result the TSFE->TCAcachedExtras
are not available when FE-editing is active.

This prevents the a working language overlay, which only
looks to that array, which fields are configured to be

Change-Id: Ib130b11dd76c0b533b9a699a113f03e750ba2516
Fixes: #40733
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/14432
Reviewed-by: Mario Rimann
Tested-by: Mario Rimann
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter

index aee17ad..6c28b95 100644 (file)
@@ -61,7 +61,7 @@ class FrontendEditingController {
                $this->TSFE_EDIT = \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('TSFE_EDIT');
                // Include classes for editing IF editing module in Admin Panel is open
                if ($GLOBALS['BE_USER']->isFrontendEditingActive()) {
-                       $GLOBALS['TSFE']->includeTCA();
+                       $GLOBALS['TSFE']->includeTCA(0);
                        if ($this->isEditAction()) {