Project

General

Profile

Actions

Bug #84911

closed

Empty brackets [] can break the FE rendering, if they are found before the page.typeNum definition

Added by Gone With the Wind over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
TypoScript
Target version:
Start date:
2018-05-03
Due date:
% Done:

100%

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

Description

In case there are empty brackets in TypoScript, before the page object gets defined, the FrontEnd breaks and emits the error message:
The page is not configured! [type=0][]. This means that there is no TypoScript object of type PAGE with typeNum=0 configured.

The backend tools won't help to find that error.

Example:

[]
page = PAGE
page.typeNum = 0

It makes sense to emit a warning in the template tools in the backend, whenever empty brackets are found.

Actions

Also available in: Atom PDF