Project

General

Profile

Actions

Bug #96778

open

Workspace Preview Links not working when [starttime] in future

Added by Claus-Peter Eberwein over 3 years ago. Updated 8 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2022-02-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When a page has a Publish Date [starttime] in the future, generating preview links with the workspaces module "Generate Preview Links"-Button doesn't seem to work correctly.

The preview link either can't be generated at all or it cuts a significant part of the URL.

I tested and reproduced the problem in Version 10 and 11.


Related issues 5 (3 open2 closed)

Related to TYPO3 Core - Bug #96658: Frontend preview doesn't work on restricted pages, when any none-live-workspace is selectedResolved2022-01-27

Actions
Related to TYPO3 Core - Bug #106076: Admin Panel - Ignore start and endtime without function in workspace draft modeNew2025-02-04

Actions
Related to TYPO3 Core - Bug #105389: Workspace typolink to translated page does not workNew2024-10-22

Actions
Related to TYPO3 Core - Bug #98161: Workspace preview show only Header and Footer with endtiime active LiveClosed2022-08-17

Actions
Related to TYPO3 Core - Bug #91899: Workspace: No content elements in preview if live page has endtime in the pastNeeds Feedback2020-07-30

Actions
Actions #1

Updated by Oliver Hader over 3 years ago

  • Status changed from New to Accepted
# preview URL of regular page
http://ip11.anyhost.it/content-examples/text/rich-text?ADMCMD_prev=e26a4cdc850be344dc3ed78545ff9187
# preview URL of page with a future start-time
http://ip11.anyhost.it/?ADMCMD_prev=22acf323a405dc1846b650aca9dc6618

I is obvious that the page path - generated by the routing layer - is ignored for the page having a future start-time.

https://github.com/TYPO3/typo3/blob/8b3e6321e22f80c85e629a553aebb9d0d60cd5f8/typo3/sysext/core/Classes/Routing/PageRouter.php#L254

In PageRouter::generateUri the resolved $page from PageRepository is empty, since regular visibility settings are applied (the page would not be visible under regular circumstances).

Actions #2

Updated by Gerrit Code Review over 3 years 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/+/73651

Actions #3

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/+/73651

Actions #4

Updated by Gerrit Code Review about 2 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/+/73651

Actions #5

Updated by Gerrit Code Review almost 2 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/+/73651

Actions #6

Updated by Gerrit Code Review almost 2 years ago

Patch set 5 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/+/73651

Actions #7

Updated by Rémy DANIEL about 1 year ago

  • Related to Bug #96658: Frontend preview doesn't work on restricted pages, when any none-live-workspace is selected added
Actions #8

Updated by Rémy DANIEL about 1 year ago · Edited

Note: even if the url is generated correctly, the preview of the page will fail, because the page is not yet published.

See #96658

Actions #9

Updated by Gerrit Code Review 8 months ago

Patch set 6 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/+/73651

Actions #10

Updated by Christian Kuhn 4 months ago

  • Related to Bug #106076: Admin Panel - Ignore start and endtime without function in workspace draft mode added
Actions #11

Updated by Benni Mack 2 months ago

  • Related to Bug #105389: Workspace typolink to translated page does not work added
Actions #12

Updated by Christian Kuhn 5 days ago

  • Related to Bug #98161: Workspace preview show only Header and Footer with endtiime active Live added
Actions #13

Updated by Christian Kuhn 5 days ago

  • Related to Bug #91899: Workspace: No content elements in preview if live page has endtime in the past added
Actions

Also available in: Atom PDF