Actions
Bug #47993
closedPossible 6.1 TCA load regression if calling includeTCA() in eid context
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(); + } } /**
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Christian Kuhn over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c2ddc75819663f8b2ac9dce5e7c41126d98827e9.
Actions