Project

General

Profile

Actions

Bug #88478

closed

INCLUDE_TYPOSCRIPT condition parameter not evaluating symfony expressions

Added by Christian Eßl almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2019-06-03
Due date:
% Done:

0%

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

Description

There is a "condition"-Parameter for the include-instruction for importing TS files only if a TS condition is matched. These appear to not allow for symfony expressions at the moment.

Example:

This is working (old syntax):

<INCLUDE_TYPOSCRIPT: source="FILE:EXT:theme/Configuration/TypoScript/Constants/Development.typoscript" condition="[applicationContext = Development]">

This is not working (symfony expression):

<INCLUDE_TYPOSCRIPT: source="FILE:EXT:theme/Configuration/TypoScript/Constants/Development.typoscript" condition="[applicationContext == "Development"]">

Actions

Also available in: Atom PDF