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 #1

Updated by Georg Ringer about 1 month ago

  • Related to Bug #98045: DateAspect->getTimezone (almost) never returns the correct value added
Actions #2

Updated by Georg Ringer about 1 month ago

  • Related to Bug #99627: Context:class don't detect timezone correctly added
Actions #3

Updated by Georg Ringer about 1 month ago

  • Status changed from New to Accepted
  • Is Regression set to Yes
Actions #4

Updated by Gerrit Code Review about 1 month ago

  • Status changed from Accepted 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/+/83742

Actions #5

Updated by Gerrit Code Review about 1 month 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/+/83742

Actions #6

Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83756

Actions #7

Updated by Gerrit Code Review about 1 month 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/+/83757

Actions #8

Updated by Georg Ringer about 1 month ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Georg Ringer about 1 month ago

  • Has duplicate Bug #103669: Backend Preview of "planned" pages throw 503 on PHP 8.2 added
Actions #10

Updated by Stefan Bürk about 1 month ago

  • Related to Bug #103690: Preview of page in the past (expired) throws exception added
Actions

Also available in: Atom PDF