#72222CLI bootstraps with loading TypoScript files twice
Description
The error message for a missing <INCLUDE_TYPOSCRIPT: source=“FILE: is shown twice on the CLI. See below. The bootstraping process – here for cliKey “extbase” – runs through the TypoScript loading twice. I guess this is not the optimum?
myUSER:/html/webseiten/mydomain.de > php_cli ./typo3/cli_dispatch.phpsh extbase help
localhost:/html/webseiten/mydomain.de/ - core: File "EXT:myextension/CCCCCCCCCCCCConfiguration/Typoscript/Constants/myconstants.ts" was not found.
#0 TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::includeFile() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php:865]
#1 TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::checkIncludeLines() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/TypoScript/TemplateService.php:1090]
#2 TYPO3\CMS\Core\TypoScript\TemplateService->processIncludes() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/TypoScript/TemplateService.php:623]
#3 TYPO3\CMS\Core\TypoScript\TemplateService->runThroughTemplates() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php:74]
#4 TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager->getTypoScriptSetup() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php:133]
#5 TYPO3\CMS\Extbase\Configuration\ConfigurationManager->getConfiguration() called at [/html/webseiten/mydomain.de/typo3conf/ext/flux/Classes/Service/FluxService.php:346]
#6 FluidTYPO3\Flux\Service\FluxService->getAllTypoScript() called at [/html/webseiten/mydomain.de/typo3conf/ext/flux/Classes/Service/FluxService.php:334]
#7 FluidTYPO3\Flux\Service\FluxService->getTypoScriptByPath() called at [/html/webseiten/mydomain.de/typo3conf/ext/flux/Classes/Service/FluxService.php:298]
#8 FluidTYPO3\Flux\Service\FluxService->getViewConfigurationForExtensionName() called at [/html/webseiten/mydomain.de/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:123]
#9 FluidTYPO3\Fluidcontent\Service\ConfigurationService->getContentConfiguration() called at [/html/webseiten/mydomain.de/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:128]
#10 FluidTYPO3\Fluidcontent\Service\ConfigurationService->getContentConfiguration() called at [/html/webseiten/mydomain.de/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:167]
#11 FluidTYPO3\Fluidcontent\Service\ConfigurationService->renderPageTypoScriptForPageUid() called at [/html/webseiten/mydomain.de/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:141]
#12 FluidTYPO3\Fluidcontent\Service\ConfigurationService->getPageTsConfig() called at [/html/webseiten/mydomain.de/typo3conf/ext/fluidcontent/Classes/Backend/TableConfigurationPostProcessor.php:27]
#13 FluidTYPO3\Fluidcontent\Backend\TableConfigurationPostProcessor->processData() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/Core/Bootstrap.php:1027]
#14 TYPO3\CMS\Core\Core\Bootstrap->runExtTablesPostProcessingHooks() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/Core/Bootstrap.php:974]
#15 TYPO3\CMS\Core\Core\Bootstrap->loadExtensionTables() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/backend/Classes/Console/CliRequestHandler.php:104]
#16 TYPO3\CMS\Backend\Console\CliRequestHandler->boot() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/backend/Classes/Console/CliRequestHandler.php:66]
#17 TYPO3\CMS\Backend\Console\CliRequestHandler->handleRequest() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/Core/Bootstrap.php:302]
#18 TYPO3\CMS\Core\Core\Bootstrap->handleRequest() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/backend/Classes/Console/Application.php:73]
#19 TYPO3\CMS\Backend\Console\Application->run() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/cli_dispatch.phpsh:26]
#20 {closure}()
#21 call_user_func() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/cli_dispatch.phpsh:27]
NULL
#0 TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::includeFile() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php:865]
#1 TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::checkIncludeLines() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/TypoScript/TemplateService.php:1090]
#2 TYPO3\CMS\Core\TypoScript\TemplateService->processIncludes() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/TypoScript/TemplateService.php:623]
#3 TYPO3\CMS\Core\TypoScript\TemplateService->runThroughTemplates() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php:74]
#4 TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager->getTypoScriptSetup() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php:218]
#5 TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager->getExtbaseConfiguration() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Configuration/AbstractConfigurationManager.php:152]
#6 TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager->getConfiguration() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php:131]
#7 TYPO3\CMS\Extbase\Configuration\ConfigurationManager->getConfiguration() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Core/Bootstrap.php:131]
#8 TYPO3\CMS\Extbase\Core\Bootstrap->configureObjectManager() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Core/Bootstrap.php:89]
#9 TYPO3\CMS\Extbase\Core\Bootstrap->initialize() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/Classes/Core/Bootstrap.php:192]
#10 TYPO3\CMS\Extbase\Core\Bootstrap->run() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/extbase/ext_localconf.php:39]
#11 TYPO3\CMS\Core\Utility\ExtensionManagementUtility::{closure}()
#12 call_user_func() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/backend/Classes/Console/CliRequestHandler.php:69]
#13 TYPO3\CMS\Backend\Console\CliRequestHandler->handleRequest() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/core/Classes/Core/Bootstrap.php:302]
#14 TYPO3\CMS\Core\Core\Bootstrap->handleRequest() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/sysext/backend/Classes/Console/Application.php:73]
#15 TYPO3\CMS\Backend\Console\Application->run() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/cli_dispatch.phpsh:26]
#16 {closure}()
#17 call_user_func() called at [/html/typo.sourcen/typo3_src-7.6.0/typo3/cli_dispatch.phpsh:27]
NULL
localhost:/html/webseiten/mydomain.de/ - core: File "EXT:myextension/CCCCCCCCCCCCConfiguration/Typoscript/Constants/myconstants.ts" was not found.