Issue Bug Closed

#94695Template Analyzer stoped Highlighting syntax errors

Lina Wolf 08/03/21, 08:07 updated 10/06/23, 09:30

Description

The Template Analyzer used to Highlight TypoScript Syntax errors in Yellow (See here: https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/TypoScriptSyntax/Syntax/Conditions.html?highlight=condition#the-global-condition).

However in the current master this stopped working (See Screenshot). There is also no Syntax error Highlighting in the Editor.

The template tools show the error.

I tried the following (Global within a block):

# Invalid: This example is not valid on purpose
# Conditions must not be used within value blocks
someObject {
   1property = 234
   [GLOBAL]
   2property = 567
}

and the following (double point instead of equals):

[GLOBAL]

# Invalid: This example is not valid on purpose
# Conditions must not be used within value blocks
someObject {
   1property: 234
   2property = 567
}

Reviews 0

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