Bug #88437
closedAdminpanel: setting "simulateDate" to a timestamp value lower than 60 crashes the frontend
100%
Description
Imagine this TSConfig:
admPanel {
enable.preview = 1
override.preview = 0
override.preview.simulateDate= 10
}
Setting simulateDate to a value lower than 60 seconds crashes the frontend with an unhandled runtime exception:
accessTimeStamp needs to be set to an integer value, but is empty! Maybe $GLOBALS['SIM_ACCESS_TIME'] has been overridden somewhere?
because of the following line in PreviewModule::initializeFrontendPreview():
$GLOBALS['SIM_ACCESS_TIME'] = $simTime - $simTime % 60;
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60821
Updated by Gerrit Code Review over 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60821
Updated by Christian Eßl over 5 years ago
- Subject changed from adminpanel: setting "simulateDate" to a timestamp value lower than 60 crashes the frontend to Adminpanel: setting "simulateDate" to a timestamp value lower than 60 crashes the frontend
- Assignee set to Christian Eßl
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60821
Updated by Christian Eßl over 5 years ago
- Target version set to Candidate for patchlevel
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.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/+/60851
Updated by Christian Eßl over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 52c7c7234a005a45fbfdb12f9695715bdcff1b6e.