Project

General

Profile

Actions

Bug #82543

closed

INCLUDE_TYPOSCRIPT extensions can not handle double extension

Added by Jan Kiesewetter over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2017-09-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF