Actions
Bug #87115
closedThe annotation "@import" in method TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::addImportsFromExternalFiles() cause exception
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-12-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When making instance on "\TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser" with extebase Object manager get an exception
(1/1) Doctrine\Common\Annotations\AnnotationException [Semantical Error] The annotation "@import" in method TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::addImportsFromExternalFiles() was never imported. Did you maybe forget to add a "use" statement for this annotation?
GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class)->get(\TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::class)
Updated by Georg Ringer almost 6 years ago
you can use ::makeInstance on that class, no objectmanager needed
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/59074
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/59074
Updated by Georg Ringer almost 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 56ee2a4d2e8ce96d0803dc6dd98b85ea3525c561.
Actions