Issue Bug Closed

#88478INCLUDE_TYPOSCRIPT condition parameter not evaluating symfony expressions

Christian Eßl 06/03/19, 14:28 updated 09/24/19, 09:17

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"]">

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.