Issue Task Closed

#50473Template Analyzer processes includes twice

Francois Suter 07/26/13, 18:46 updated 10/23/17, 21:47

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.

Reviews 1