Issue Bug Closed

#82543INCLUDE_TYPOSCRIPT extensions can not handle double extension

Jan Kiesewetter 09/22/17, 16:58 updated 10/02/18, 10:55

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