Project

General

Profile

Actions

Bug #102216

closed

Workspace link preview (via "generate page preview links") of disabled page leads to 404 error

Added by Riccardo De Contardi about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2023-10-21
Due date:
% Done:

100%

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

Description

Prerequisites

  • TYPO3 v. 12.4.7
  • a "Draft" worskspace

Steps to reproduce

  1. create a new page in LIVE worskspace; the page is hidden (disabled) by default
  2. you can preview the page in the same browser you're logged in (with the "Preview" yellow box)
  3. switch to "Draft" worskpace > the page is still hidden
  4. go to Worskpace Module and generate the "generate page preview links" (btw: why it is plural??)
  5. open another browser (e.g. in incognito mode) and visit the link

Result

  1. the page does not exist (404 error)
  2. It works if you enable the page in the "Draft" worskspace.

Notes

  • the behavior is not the same on version 11.5.32 : on version 11 the workspace preview link of a disabled page works
  • the behavior is even different on version 13 (latest main): the workspace preview link works, but it seems that there is no "yellow box" which says you're looking at a worskpace preview (the box is visible when you generate the link of a non-hidden page)
Actions #1

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

Actions #2

Updated by Gerrit Code Review 12 months 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/+/81901

Actions #3

Updated by Benni Mack 12 months ago

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

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Philipp Kitzberger 3 months ago

go to Worskpace Module and generate the "generate page preview links" (btw: why it is plural??)

Because it's generating one link per language of the current site.

Actions

Also available in: Atom PDF