[BUGFIX] Wrong call to TSFE in FrontendEditing
authorSteffen Ritter <info@rs-websystems.de>
Fri, 12 Oct 2012 19:41:06 +0000 (21:41 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 Oct 2012 08:20:38 +0000 (09:20 +0100)
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
overlayed.

Change-Id: Ib130b11dd76c0b533b9a699a113f03e750ba2516
Fixes: #40733
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/15540
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
t3lib/class.t3lib_frontendedit.php

index 08a5597..4fadb6e 100644 (file)
@@ -61,7 +61,7 @@ class t3lib_frontendedit {
 
                        // 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()) {
                                $this->editAction();
                        }