Project

General

Profile

Actions

Task #50473

closed

Template Analyzer processes includes twice

Added by Francois Suter almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
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

Also available in: Atom PDF