Project

General

Profile

Actions

Bug #94695

closed

Template Analyzer stoped Highlighting syntax errors

Added by Lina Wolf over 2 years ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2021-08-02
Due date:
% Done:

0%

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

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
}

Files


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Task #94173: Render TS and pageTS snippets with CodeMirrorClosed2021-05-20

Actions
Related to TYPO3 Core - Bug #102064: TypoScript module does not report errorsResolved2023-09-29

Actions
Related to TYPO3 Core - Feature #100218: Basic TypoScript syntax scannerClosed2023-03-20

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

Actions
Actions #2

Updated by Georg Ringer over 2 years ago

  • Related to Task #94173: Render TS and pageTS snippets with CodeMirror added
Actions #3

Updated by Markus Klein 7 months ago

  • Related to Bug #102064: TypoScript module does not report errors added
Actions #4

Updated by Christian Kuhn 7 months ago

Actions #5

Updated by Christian Kuhn 7 months ago

Actions #6

Updated by Christian Kuhn 7 months ago

  • Status changed from New to Closed

Hey. We'll not change this in v11 anymore, so I'm closing.

For v12 and above, we have #100218 as part of the new TS parser of #97816. This finds broken braces "}" and some other things again.

Actions

Also available in: Atom PDF