Project

General

Profile

Actions

Bug #80386

closed

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

Added by Andreas Allacher about 7 years ago. Updated 8 months ago.

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

0%

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

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

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #97816: New TypoScript parserClosed2022-06-27

Actions
Actions

Also available in: Atom PDF