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 almost 6 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56835

Actions #2

Updated by Gerrit Code Review almost 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56835

Actions #3

Updated by Gerrit Code Review almost 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56835

Actions #4

Updated by Gerrit Code Review almost 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56836

Actions #5

Updated by Markus Klein almost 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56836

Actions #7

Updated by Markus Klein almost 6 years ago

  • Status changed from Under Review to Resolved
Actions #8

Updated by Gone With the Wind almost 6 years ago

  • Subject changed from Add warning when empty brackets [] are found to Empty brackets [] can break the FE rendering, if they are found before the page.typeNum definition
  • Description updated (diff)
Actions #9

Updated by Gone With the Wind almost 6 years ago

  • Description updated (diff)
Actions #10

Updated by Gone With the Wind almost 6 years ago

  • Description updated (diff)
Actions #11

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF