Bug #87658

Admin panel simulate date / time broken under some circumstances

Added by Manuel Selbach 3 months ago. Updated about 2 months ago.

Status:
Under Review
Priority:
Should have
Category:
AdminPanel
Target version:
-
Start date:
2019-02-05
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The feature to simulate a date / time with the admin panel is broken under some circumstances.

This happens, as the "hidden" and the field that only "displays" the date / time have the same name but for the "display" field appended with "_hr".
You end up with:

hidden field name:

TSFE_ADMIN_PANEL[preview_simulateDate]

field name that just displays the date / time

TSFE_ADMIN_PANEL[preview_simulateDate]_hr

In some environments (combination of webserver, security modules, reverse proxy for caching, etc.) those parameters are combined in the request or modified in a way, that the value of "TSFE_ADMIN_PANEL[preview_simulateDate]" is the value from the "display field", which leads to be broken system in the frontend. As those settings are stored in the backend user profile in the database, the only way to fix is to reset the user settings, otherwise the frontend will be broken with the logged in user in the backend.

History

#1 Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59646

#2 Updated by Susanne Moog about 2 months ago

  • Category set to AdminPanel

Also available in: Atom PDF