Bug #84911
closedEmpty brackets [] can break the FE rendering, if they are found before the page.typeNum definition
100%
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.
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 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
Updated by Markus Klein over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 90942bba2ea3858021388a2d1c6efe99da9616a1.
Updated by Gerrit Code Review over 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
Updated by Markus Klein over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset 33567878c2e392562962e4a96f2bf8d703dda632.
Updated by Gone With the Wind over 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)