Project

General

Profile

Actions

Bug #92353

open

TypoScript ObjectBrowser and TemplateAnalyzer include hidden records

Added by Sebastian Müller over 3 years ago. Updated 4 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-09-21
Due date:
% Done:

0%

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

Description

The typoscript object browser module displays typoscript from hidden typoscript records.
If you override e.g. page.10.value with "test" in an hidden typoscript record, the object browser would display it as if the value is set.
In FE this override will be correctly ignored.

In the template analyzer module all hidden typoscript templates are displayed, even the hidden ones.
Maybe this is wanted, but the hidden typoscript templates are not marked as hidden.
If the templates should not be listed here, it is the same problem as in the object browser. If they should be listed but marked as hidden, it most likely is an other issue.

The templates are listed and parsed since $queryBuilder->setRestrictions($this->queryBuilderRestrictions); in web/typo3/sysext/core/Classes/TypoScript/TemplateService.php is set to ignore hidden check (backend visibility context).

This problem occurs in TYPO3 9 and 10.

Actions #1

Updated by Armin Vieweg about 2 years ago

...and in latest v11 too. I can confirm this issue.

Actions #2

Updated by Daniel Hoffmann 4 months ago

and in latest v12 too.

Actions #3

Updated by Gerrit Code Review 4 months ago

  • Status changed from New to Under Review

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

Actions #4

Updated by Gerrit Code Review 4 months ago

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

Actions #5

Updated by Gerrit Code Review 4 months ago

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

Actions

Also available in: Atom PDF