Bug #20524
closedHide on FE-login still shows elemens in simulation mode
0%
Description
As the title says. Typo3 does hide "hide on FE-login" pages though!
Logically I would consider a element that is in hidden state in that case as one of the elements which should only appear with the "Show hidden Records" option in the adminPanel. The same is for pages, the hidden pages should appear if the "Show Hidden Pages" option is set (which they don't).
In this state it's hugely inconsistent and wrong.
(issue imported from #M11213)
Updated by Chris topher over 15 years ago
Updated by Niels Fröhling over 15 years ago
Yes, seem to have creeped up all at the same time. :)
I suggest to consider the proposed logic and respect the "Show ..." settings of the adminPanel instead of making an ad-hoc "show-all or hide-all on condition".
Updated by Christian Kuhn over 15 years ago
This is only true for the Web->View module, right?
Updated by Niels Fröhling over 15 years ago
I don't know if this is an additional bug:
While investigating how I can teach enableFields() to declare "show on not logged in" content elements hidden in the presence of feGroup-simulation, I detected that a BE-user which has no workspaces enabled, sees the 'Preview of workspace "" (0)' message in his Web->View ... that also means that $this->versioningPreview is set, which kills all enableFields()-restrictions!
Workspace 0 is the default workspace? If workspaces are disabled, why does it lead to superpowers regarding element-visibility?
Updated by Niels Fröhling over 15 years ago
As a side-effect it means that the BE-user can't run start/stop-time simulations, because the necessary query is never extended/appended ...
Did I oversee something?
Updated by Niels Fröhling over 15 years ago
Maybe this is the real question:
- If workspaces are enabled, why does it lead to superpowers regarding element-visibility?
Why is this unconditional statement been made in the first place?:
if (!$this->versioningPreview || !$ctrl['versioningWS'] || $noVersionPreview) { // In case of versioning-preview, enableFields are ignored (checked in versionOL())
I mean intuitively a selection of a version and/or a workspace does not mean that now all is visible.? Just digging for the underlaying explanation ...
Updated by Niels Fröhling over 15 years ago
I fixed the "Preview of workspace" issue in 11311
I understood now why the superpowers and I'm going to make a final patch for 10951/9843.
Updated by Niels Fröhling over 15 years ago
Finally I'm going to add that the "Hide on FE-login" content elements appear with the "Show Hidden Records"-switch. Except you say no ...
Updated by Alexander Opitz over 11 years ago
- Category deleted (
Communication) - Status changed from Accepted to Needs Feedback
- Target version deleted (
-1)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Rupert Germann) - Is Regression set to No
No feedback for over 90 days.