Issue Bug Closed

#80386INCLUDE_TYPOSCRIPT condition option with custom defined condition requires double "\" in class name

Andreas Allacher 03/22/17, 08:42 updated 09/01/23, 09:55

Description

Normally, when using custom conditions, the condition will be like this:
[TYPO3\CMS\Test\TestCondition = xx]
[global]

However, when using INCLUDE_TYPOSCRIPT like:
<include_typoscript: source="DIR:EXT:test/test.ts" extensions="ts" condition="TYPO3\\CMS\\Test\\TestCondition = xxx"></include_typoscript:>

it requires the double “\” (like in the above example).
Doesn’t matter if the condition is in “[” and “]” either.

Reviews 0

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