Project

General

Profile

Actions

Bug #88507

closed

TypoScript Object Browser does not respect hidden flag in TS-templates

Added by Erik Sokoll over 5 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2019-06-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
CodingNight
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

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.

Actions #2

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.

Actions #3

Updated by Susanne Moog over 5 years ago

  • Tags set to CodingNight
Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

Updated by Benni Mack almost 3 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF