Bug #96621
openVisiting the workspace preview of a page makes all pages "workspace version" even without the "?ADMCMD_prev=..." part
0%
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