Project

General

Profile

Actions

Bug #47993

closed

Possible 6.1 TCA load regression if calling includeTCA() in eid context

Added by Christian Kuhn almost 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-05-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

Index: typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
===================================================================
--- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php    (revision 709)
+++ typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php    (working copy)
@@ -2459,6 +2459,9 @@
     public function includeTCA($TCAloaded = 1) {
         // Full TCA is always loaded during bootstrap in FE, this method is obsolete.
         \TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction();
+        if (!is_array($GLOBALS['TCA']) || !isset($GLOBALS['TCA']['pages'])) {
+            \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadCachedTca();
+        }
     }

     /**

Actions #1

Updated by Gerrit Code Review almost 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20554

Actions #2

Updated by Gerrit Code Review almost 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20554

Actions #3

Updated by Gerrit Code Review almost 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20554

Actions #4

Updated by Gerrit Code Review almost 11 years ago

Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/20932

Actions #5

Updated by Christian Kuhn almost 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF