Project

General

Profile

Actions

Bug #77714

closed

Warning missing in TS Object Browser/Template Analyzer when appending a TS condition with a string

Added by Oliver Schröder about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
TypoScript
Target version:
-
Start date:
2016-08-31
Due date:
% Done:

100%

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

Description

Prepending a Typoscript condition with a string (like x[globalVar = GP:test = 1]) shows warnings in both the Typoscript Object Browser and Template Analyzer (x[globalVar = GP:test = 1] - ERROR: Line 322: Object Name String, "x[globalVar" contains invalid character "[". Must be alphanumeric or one of: „:-\.“_) and this broken condition is not listed as a condition underneath the TS tree in the TS Object Browser.

But appending a Typoscript condition with a string (like [globalVar = GP:test = 1]x) does not show warnings in neither the Typoscript Object Browser not the Template Analyzer and this broken condition is listed as a condition underneath the TS tree in the TS Object Browser. (As in my case the string was an invisible UTF-8 character the TS Object Browser condition looked perfectly ok, but wasn’t.)

I could reproduce the problem in Typo3 4.5.40, 7.6.9 und 8.3.0.


Files

Actions

Also available in: Atom PDF