#82543INCLUDE_TYPOSCRIPT extensions can not handle double extension
Description
To include TypoScript setup and constants I would like to do something like this
on the setup side:
<INCLUDE_TYPOSCRIPT: source="DIR:./plugin" extensions="setup.typoscript">
and this on the constants side:
<INCLUDE_TYPOSCRIPT: source="DIR:./plugin" extensions="constants.typoscript">
Files in the plugin folder, e.g.:
tx_news.setup.typoscript tx_news.constants.typoscript
Expected behavior:
tx_news.setup.typoscript is included at the setup, tx_news.constants.typoscript is included at the constants.
Current behavior:
Every file with *.typoscript as extension is included in setup and constants.
I haven’t checked this in 8.7 yet, but the code of TypoScriptParser::includeDirectory didn’t changed, as far as I can overlook.
Reviews 4
- TYPO3_8-7 54465[FOLLOWUP][BUGFIX] Allow longer file-endings in typoscript directory includes
- main 54460[FOLLOWUP][BUGFIX] Allow longer file-endings in typoscript directory includes
- TYPO3_8-7 54458[BUGFIX] Allow longer file-endings in typoscript directory includes
- main 54443[BUGFIX] Allow longer file-endings in typoscript directory includes