Issue Bug Closed

#100795Content element "View" button does not reload page, when preview is hosted on different (sub-)domain

Webadmin no-lastname-given 05/03/23, 10:55 updated 07/06/23, 13:43

Description

An Typo3 multidomain installation is hosted on typo3.domain.com, the sites are hosted for previewing on site1.domain.com, site2.domain.com,… Cookie Domain is set to *.domain.com. So all FE-previes show admin panel, etc.

When clicking on a view button a new tab/window is opened. When clicking again, while the window is still open, the backend will throw this JS error:

Uncaught (in promise) SecurityError: Blocked a frame with origin “https://typo3.domain.com” from accessing a frame with origin “https://site1.domain.com”. Protocols, domains, and ports must match.

I think it’s related to: https://forge.typo3.org/issues/93706

It worked fine in LTS 10, but after updating to LTS 11 editors have always to close the tab before clicking the view button.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.