Bug #76968

Workspace Preview doesn't work on Multidomain Rootpages

Added by Mansoor Ahmad over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2016-07-07
Due date:
% Done:

0%

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

Description

Hello,

if i am logged into the backend with the Domain example www.hanspaul.de/typo3 (Rootpage 1) and click on the Previewbutton of a Page from the secound/another Rootpage 2, then the Previewlink will be opend correctly with the Domain of Rootpage 2 in a new Browsertab. But if i switched to a Workspace and try to open the Preview from any page of Rootpage 2, then i will redirected to www.muellerman.de/typo3 and must login. The issue could be, that the Backendsession in the Workspacemodus doesn't effect over Multidomain Rootpages.

+Rootpage 1(www.hanspaul.de)
- About me
-- Fotos
- Press

+Rootpage 2(www.muellerman.de)
- Products
-- Car
- FAQ

I tested this thing with TYPO3 6.2.X, 7.6.9 and 8.2.0 including PHP 5.5, PHP 5.6 and PHP 7.0.8. All Versions have the same Problem. Any idea???

With best regards,
Mansoor Ahmad


Files

how_to_reproduce_video.webm (7.42 MB) how_to_reproduce_video.webm Mansoor Ahmad, 2016-07-08 11:46

Related issues

Related to TYPO3 Core - Bug #23115: Workspace preview does not work in multidomain setupClosed2010-07-07

Actions
#1

Updated by Wouter Wolters over 4 years ago

  • Status changed from New to Rejected
  • Target version deleted (8.3)
  • PHP Version deleted (7.0)

To make this work you can use the PageTSconfig option "TCEMAIN.previewDomain".
Set it on the root page of your site and preview works with a multi domain setup.

#2

Updated by Mansoor Ahmad over 4 years ago

Hello Wouter,

i already try out this PageTSconfig "TCEMAIN.previewDomain" Option, but it didn't help.

PageTSconfig of Rootpage 1(www.hanspaul.de)

TCEMAIN.previewDomain = http://www.hanspaul.de

PageTSconfig of Rootpage 2(www.muellerman.de)

TCEMAIN.previewDomain = http://www.muellerman.de

This Issue comes only in the Workspacemodus, not in the Livemodus.
I try out this config with and without "http://", both versions are not working in Workspace Preview

#4

Updated by Wouter Wolters over 4 years ago

Thanks for the video! That really helpful to see what you execute.

The problem here is that you are logged in for the domain http://www.hanspaul.de So your backend session is bound to this domain and not to http://www.muellerman.de

The workspace preview is using your backend session for the preview and this way you receive the login screen.
You need to login on http://www.muellerman.de and use the preview option.

Also available in: Atom PDF