Bug #88507
closedTypoScript Object Browser does not respect hidden flag in TS-templates
100%
Description
In case I have two TypoScript templates on my root page and I hide the first one, the TypoScript Object Browser shows values from the first (hidden) one and not the second, which styles the page.
With this bug the TSOB might show complete wrong settings.
Example:
Template 1 (hidden)
page.10 = TEXT
page.10.value = foo
Template 2
page.10 = TEXT
page.10.value = bar
The TSOB will display foo, the frontend shows bar
In TYPO3 version 8 everything works fine like expected.
Updated by Stefan Froemken over 5 years ago
- Category set to TypoScript
- Target version set to next-patchlevel
- PHP Version set to 7.2
I can confirm that issue.
Seems to be a problem with Doctrine Restrictions of TYPO3 BE where hidden elements are allowed by default.
Updated by Erik Sokoll over 5 years ago
Some additional information might be helpful:
While using the TSOB, the root page (containing the templates) will show a template selector dropdown.
But any other subpage will show "foo" in the TSOB, although "bar" is the right value.
For friends of copy&paste I'll write the TypoScript again:
Template 1 (hidden)
page = PAGE
page.10 = TEXT
page.10.value = foo
Template 2
page = PAGE
page.10 = TEXT
page.10.value = bar
Moreover you might set the root template values on the "Optios" tab (Clear Constants/Setup and check Rootlevel).
Switching the order (sorting) of the templates, with Template 2 on top and Template 1 below, will show the right values in the TSOB.
Updated by Gerrit Code Review over 4 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/c/Packages/TYPO3.CMS/+/63516
Updated by Gerrit Code Review over 4 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/c/Packages/TYPO3.CMS/+/63516
Updated by Gerrit Code Review almost 3 years 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/+/63516
Updated by Gerrit Code Review almost 3 years ago
Patch set 4 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/+/63516
Updated by Gerrit Code Review almost 3 years ago
Patch set 5 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/+/63516
Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72978
Updated by Benni Mack almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8c5aefaa4dfec7c5ba8efa6b442ed42316868775.