Actions
Task #50473
closedTemplate Analyzer processes includes twice
Start date:
2013-07-26
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:
Description
The Template Analyzer BE module parses the TypoScript inclusions twice.
In \TYPO3\CMS\TsTemplate\Controller\TemplateAnalyzerModuleFunctionController::initialize_editor(), \TYPO3\CMS\Core\TypoScript\TemplateService::runThroughTemplates() is called. At the end of this method \TYPO3\CMS\Core\TypoScript\TemplateService::processIncludes() is called.
Later \TYPO3\CMS\TsTemplate\Controller\TemplateAnalyzerModuleFunctionController::main() directly calls \TYPO3\CMS\Core\TypoScript\TemplateService::processIncludes(), which is unnecessary.
This is just a cleanup which I propose to do only for current master.
Actions