Bug #77569

Workspaces PReview Links: Live-Website is not shown anymore after ADMCMD_prev cookie is set once

Added by Frank Gerards almost 3 years ago. Updated about 2 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Workspaces
Start date:
2016-08-22
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

if I generate a Workspace Preview Link and call it in the frontend, the correct WS version of the webpage is shown.
If I now call the URL WITHOUT the "ADMCMD_prev" GET-Parameter, the ADMCMD_prev cookie is still set.
The page now still shows the Workspace version and not the live.


Related issues

Related to TYPO3 Core - Bug #77467: Missing previewinfo on TYPO3 6.2 and 7.6 Closed 2016-08-10
Duplicates TYPO3 Core - Bug #18761: "ADMCMD command could not be executed!" after preview link expired Accepted 2008-05-08

History

#1 Updated by Christian Weiske over 2 years ago

Patch from #18761 solves this problem - https://review.typo3.org/30091

#2 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from New to Closed

I close this one as duplicate of #18761, please continue the discussion there. Thank you.

#3 Updated by Frank Gerards over 2 years ago

  • PHP Version set to 5.6

Hi,
this is not a duplicate, because I'm talking about accessing a page in the live workspace/without BE login, which ALSO has a valid preview-Link in one of the workspaces.
Steps to reproduce:

- modify page in workspace and create a preview-Link for it using the "Workspaces" module
- click the generated preview-link in the popup to access the page version once and set the cookie
- log out of backend
- access the same page's live version
-> still the preview-Link version is shown WITHOUT any notice, that you still see the preview-Linked version

This is very odd for submitting changes to the customer etc.

Plz re-open this ticket and investigate.

#4 Updated by Frank Gerards over 2 years ago

  • Assignee set to Riccardo De Contardi

#5 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Closed to New
  • Assignee deleted (Riccardo De Contardi)

I think I have just seen it with TYPO3 7.6.16:

1) I tried to access the LIVE version of my site and obtained an "Oops an error occurred!" without any further explanation (even with config.contentObjectExceptionHandler = 0 )
2) clearing all cache did not work
3) Log error

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1294585192: ADMCMD command could not be executed! (No keyword configuration found) | Exception thrown in file /Volumes/Macintosh SSD/TYPO3-dists/typo3_src-7.6.16/typo3/sysext/version/Classes/Hook/PreviewHook.php in line 292. Requested URL: http://typo3.7.test.it:8888/index.php?id=1

4) Some days ago I had generated some preview links of a workspace
5) There was a ADMCMD cookie set
6) After deleting it the site was visible again

#6 Updated by Tommaso Liberio over 1 year ago

Is this issue still open?

Getting nearly same problem when sending preview links to editors. They wonder why their before opened tab, are not running any more, and plugins like indexed_search and others are showing an error.

(TYPO3 8.7.9)

#7 Updated by Masod Mohmand over 1 year ago

  • TYPO3 Version changed from 6.2 to 8
  • PHP Version changed from 5.6 to 7.1

Same problem here. Is this solved?

#8 Updated by Oliver Hader about 1 year ago

See a more detailed explanation here https://stackoverflow.com/questions/42050808/typo3-workspace-preview-not-working-with-forms-and-http-post-data/42053424#42053424

The only way to leave the preview session is to remove the cookie. And the only fix for TYPO3 in v8 is to render a big button in the frontend that says "leave preview session". In TYPO3 v9 these issue a partially tackled with new features related to routing and URL handling in the core.

#9 Updated by Benni Mack about 2 months ago

  • Target version changed from next-patchlevel to Candidate for patchlevel

Also available in: Atom PDF