Project

General

Profile

Actions

Bug #101408

open

Fluid debug output is displayed on page even if adminpanel not enabled / not logged in

Added by Sybille Peters 9 months ago. Updated 5 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2023-07-21
Due date:
% Done:

0%

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

Description

This probably was reported before, but was then fixed and has now reappeared: https://forge.typo3.org/issues/85087

I usually don't use Fluid debug output in adminpanel and usually don't enable it on production but I did that recently by accident.

Several days later I loaded a page, the debug output was displayed, the admin panel was not even activated.

What made matters worse, the debug output was also displayed if not logged in the BE (using different browser).

versions

  • reproduced in v11, did not check newer versions yet.

Reproduce

1. Flush all cache (including system cache)
2. Enable admin panel
3. Activate checkbox "Fluid debug output"
4. Load page: debug output is displayed) (ok)
5. deactivate adminpanel (via the toggle)
6. load page again: debug output is displayed (unexpected)
7. load page in different browser (not logged in): debug output is displayed (bad)
8. Deactivate the checkbox "Fluid debug output"
9. refresh page CTRL-SHIFT-r (or flush cache in adminpanel): debug output still displayed

finally, flush cache

vendor/bin/typo3 cache:flush

Is now ok

Suggestion

I think this should be changed (at least in production context)

  • the debug output should not be saved
  • or better: not possible to enable "Fluid debug" checkbox in production context

Screenshot


Files

adminpanel_fluid.png (8.09 KB) adminpanel_fluid.png Sybille Peters, 2023-07-21 14:42

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #85087: Prevent Admin Panel Fluid Debug View from being cachedClosed2018-05-28

Actions
Related to TYPO3 Core - Bug #86675: "Show Fluid Debug" seems to be cached in regular FE-CacheClosed2018-10-17

Actions
Actions #1

Updated by Sybille Peters 9 months ago

  • Related to Bug #85087: Prevent Admin Panel Fluid Debug View from being cached added
Actions #2

Updated by Sybille Peters 9 months ago

  • Related to Bug #86675: "Show Fluid Debug" seems to be cached in regular FE-Cache added
Actions #3

Updated by Sybille Peters 9 months ago

  • Subject changed from Fluid debug output is displayed on page even if adminpanel not enabled (debug output is persisted to page cache) to Fluid debug output is displayed on page even if adminpanel not enabled / not logged in
Actions #4

Updated by Torben Hansen 5 months ago

  • Status changed from New to Accepted

I can confirm the issue. As soon as the layouts/templates/partials are rendered once through admin tool, they are cached. The cached items also contain information about the debug state, which might result in non cached pages will include debug information when requested by regular users.

Actions

Also available in: Atom PDF