Project

General

Profile

Actions

Bug #96621

open

Visiting the workspace preview of a page makes all pages "workspace version" even without the "?ADMCMD_prev=..." part

Added by Riccardo De Contardi almost 3 years ago. Updated almost 3 years ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2022-01-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
workspaces, preview
Complexity:
Is Regression:
Sprint Focus:

Description

Premise: tested on TYPO3 12.0.0-dev, but it should affects also lesser versions (10,11)

Prerequisites

- TYPO3 installation, fresh
- A draft workspace
- use admin user, is good as well

Steps to reproduce

On LIVE workspace

1. Create a page "test"
2. switch to draft workspace and go to "test"
3. Create a content element and save it
4. Go to the workspace module and generate the preview link
5. Log out from TYPO3 or open a new browser window in incognito mode or change browser
6. Visit the preview link given to you

Issue description

- If I visit the link for the generated workspace, for example:

https://typo3.whatever/test?ADMCMD_prev=246e0166ff13bd8f265e7e0060a50806

I see the draft workspace version - the one with the yellow box on the right upper corner - and the content element is of course visible

- If I visit the same link (on the same browser) , but the LIVE version i.e.

https://typo3.whatever/test

I still see the workspace version with the yellow box. This is true for every other page of the site.

It is possible to use the "stop preview" to obtain the message that we "log out from Workspace preview mode." with the link of the same page, live version.

I suspect that the responsible is the ADMCMD_prev cookie (a session cookie if I am not wrong)... I guess it is set when I visit the workspace link and remains valid for the whole site, until you remove it.

Additional notes

Not tested with multiple sites on the same installation


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #75063: Workspace-Preview for Non-Admin Users not working correctly for extbase contentClosed2016-03-14

Actions
Actions

Also available in: Atom PDF