Project

General

Profile

Actions

Bug #103588

closed

PreviewSimulator for time restricted pages

Added by Rafał Jania about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2024-04-10
Due date:
% Done:

100%

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

Description

From v12.4.14 the Preview of expired pages doesn't work anymore.

How to reproduce?
1. For one page, set the 'Expiration Date' in the past
2. Right click on that page -> 'Show'

The error is shown:

DateTimeImmutable::setTimestamp(): Argument #1 ($timestamp) must be of type int, string given

in /var/www/html/app/site/vendor/typo3/cms-frontend/Classes/Middleware/PreviewSimulator.php line 172

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #98045: DateAspect->getTimezone (almost) never returns the correct valueResolvedAndreas Wolf2022-07-28

Actions
Related to TYPO3 Core - Bug #99627: Context:class don't detect timezone correctlyResolved2023-01-19

Actions
Related to TYPO3 Core - Bug #103690: Preview of page in the past (expired) throws exceptionClosed2024-04-20

Actions
Has duplicate TYPO3 Core - Bug #103669: Backend Preview of "planned" pages throw 503 on PHP 8.2Closed2024-04-18

Actions
Actions

Also available in: Atom PDF