Project

General

Profile

Actions

Bug #33392

closed

showHidden flag in tslib_fe is not "workspaces aware"

Added by Bart Dubelaar almost 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2012-01-23
Due date:
% Done:

100%

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

Description

In tslib_fe the flag $this->showHiddenPage is set to true whenever the requested uid is a hidden page. However this code always looks at the original uid and not to the versioned overlay. When working with workspaces and adding new pages in draft, all placeholders have hidden set to 1. This means that showHiddenPage will always become true, and all hidden pages will be shown. This essentially breaks the rendering of menus etc., as all the menus will show all hidden pages too.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #40091: Previewing a page in frontend disables all enabled fields, including workspacesClosedArmin Vieweg2012-08-23

Actions
Actions #1

Updated by Ernesto Baschny almost 13 years ago

  • Status changed from New to Accepted

This is indeed a problem that I can confirm (probably in all TYPO3 versions which have workspaces).

Probably not so easy to solve because this part of the code is very old (back from the beginnings from the workspaces, 2003-2004) and it's hard to change anything without having some side effects.

Thanks for your report so far, if you have any idea on how to solve it (if you have PHP knowledge), please go ahead.

Actions #2

Updated by Ernesto Baschny almost 13 years ago

How to reproduce in the intro-package:

1) Hide any page in the navigation (in live mode)
2) Switch to some Workspace
3) Create more pages anywhere and "unhide" them (still in this Workspace)
4) Preview one of these new pages in the Frontend
5) The new pages added to the workspace now appear but also the hidden page from Live mode (hidden in 1) also wrongly appear (and you can actually even click and preview them!)

Actions #3

Updated by Ernesto Baschny almost 13 years ago

Uncommenting class.tslib_fe.php line 793 ($this->showHiddenPage = 1) apparently makes it behave correctly, but I have no idea of the side effects of it. :)

Actions #4

Updated by Gerrit Code Review almost 13 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/8676

Actions #5

Updated by Gerrit Code Review almost 13 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #6

Updated by Gerrit Code Review almost 13 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #7

Updated by Gerrit Code Review almost 13 years ago

Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/8676

Actions #8

Updated by Gerrit Code Review almost 13 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #9

Updated by Gerrit Code Review almost 13 years ago

Patch set 3 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/8676

Actions #10

Updated by Gerrit Code Review almost 13 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #11

Updated by Gerrit Code Review almost 13 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #12

Updated by Gerrit Code Review over 12 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #13

Updated by Gerrit Code Review over 12 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #14

Updated by Gerrit Code Review over 12 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #15

Updated by Gerrit Code Review over 12 years ago

Patch set 9 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #16

Updated by Gerrit Code Review over 12 years ago

Patch set 10 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8720

Actions #17

Updated by Bart Dubelaar over 12 years ago

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

Updated by Gerrit Code Review over 12 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12802

Actions #19

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/12803

Actions #20

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/12804

Actions #21

Updated by Gerrit Code Review about 12 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14357

Actions #22

Updated by Steffen Ritter about 12 years ago

  • Status changed from Under Review to Resolved
Actions #23

Updated by Gerrit Code Review about 12 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/12804

Actions #24

Updated by Gerrit Code Review about 12 years ago

Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/12803

Actions #25

Updated by Gerrit Code Review about 12 years ago

Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12802

Actions #26

Updated by Bart Dubelaar about 12 years ago

  • Status changed from Under Review to Resolved
Actions #27

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF