Actions
Bug #87186
closedMissing namespace for TypoScriptFrontendController in CObjectViewHelper
Start date:
2018-12-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
In the CObjectViewHelper is this function:
/** * @return ContentObjectRenderer */ protected static function getContentObjectRenderer() { return GeneralUtility::makeInstance( ContentObjectRenderer::class, $GLOBALS['TSFE'] ?? GeneralUtility::makeInstance(TypoScriptFrontendController::class, null, 0, 0) ); }
Here TypoScriptFrontendController has no namespace and that throws an error.
Adding "use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;" above the class solves the issue;
Version: 9.5.3;
Updated by Gerrit Code Review almost 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59185
Updated by Markus Klein almost 6 years ago
- Related to Bug #86979: stdWrap fieldRequired/insertData sometimes not working as expected since TYPO3 9 LTS added
Updated by Gerrit Code Review almost 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59185
Updated by Georg Ringer almost 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e6dc7153b17641b58e4a7bc1c91c93241bf6edf4.
Updated by Gerrit Code Review almost 6 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59187
Updated by Georg Ringer almost 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset aa4358b27d5566bae22875db464cc7cecf4b3108.
Actions