Bug #80386

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

Added by Andreas Allacher over 2 years ago. Updated 7 months ago.

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

0%

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.

History

#1 Updated by Benni Mack over 2 years ago

  • Target version changed from 8 LTS to next-patchlevel

#2 Updated by Łukasz Uznański almost 2 years ago

  • Sprint Focus set to On Location Sprint

#3 Updated by Mathias Brodala over 1 year ago

  • Sprint Focus deleted (On Location Sprint)

#4 Updated by Benni Mack 7 months ago

  • Target version changed from next-patchlevel to Candidate for patchlevel

Also available in: Atom PDF