Bug #91225
closedTYPO3 v9.1.15 Admin-Panel, Simulate FE-Time not working
100%
Description
The Admin-Panel function Simulate FE-Time is not working at all in TYPO3 version 9.1.15! Submitting the Admin-Panel form with changed "simulate date/time" will change the given date/time after submiting. The frontend doesn't actually seem to get the desired time, so records with start/stop time do not behave as expected!
After a long journey to find any configuration error in TYPO3 or PHP-Environment a downgrade to TYPO3 v9.1.14 worked to fix the issue. This indeed implies there must be any bug in TYPO3 Admin-Panel for v9.1.15 core.
Updated by Thomas Hempel over 4 years ago
I confirm, that this is still (or again) an issue in version 9.5.17
Updated by Rémy DANIEL over 4 years ago
I found that the PreviewSimulator middleware clear the DateTimeContext set by the admin panel's PreviewModule middleware.
Disabling the PreviewSimulator middleware fix the issue for my use case.
Updated by Rémy DANIEL over 4 years ago
- Related to Bug #91083: Preview setting "showHiddenRecords" in the admin panel does not work. added
Updated by Sascha Löffler over 4 years ago
I can confirm it for TYPO3 v9.5.19.
This patch solves the display of the timed content elements
https://review.typo3.org/c/Packages/TYPO3.CMS/+/64491
but it does still not show the "Preview" box on the site (which i suspect is the expected behavior if i look at the code.)
So i had not only to delete the `$GLOBALS['TSFE']->clear_preview();` call, but also add
if ($queryTime === false && $GLOBALS['SIM_ACCESS_TIME'] !== $GLOBALS['ACCESS_TIME']) {
$queryTime = $GLOBALS['SIM_ACCESS_TIME'];
}
to the `simulateDate` method because ADMCMD_simTime is not filled when setting the simulation time using the admin panel.
see:
https://github.com/lsascha/TYPO3.CMS/commit/59c23fd2d43e2676e8fa8eb69f40ef9a69f399c8
Updated by Stefan Berger over 4 years ago
we could confirm the bug and the proposed bugfix
Updated by Sybille Peters over 3 years ago
- Related to Bug #94596: How to deactivate "simulate time" in adminpanel? Status of simulations not clear enough added
Updated by Gerrit Code Review almost 3 years ago
- Status changed from New to Under Review
Patch set 1 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/+/72825
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 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/+/72825
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/+/72825
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/+/72825
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/+/72872
Updated by Susanne Moog almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 03c0c741a54ca7b6796a622042c933af970327a7.
Updated by Thomas Sam Wittich over 2 years ago
- Related to Bug #97719: TYPO3 v11.5.10 Admin-Panel, Simulate FE-Time not working added