Issue Bug Closed

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

Gone With the Wind 05/03/18, 00:26 updated 10/02/18, 10:47

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.

Reviews 2