-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: #1560778826: You are not authenticated to see this view #225
Comments
I can confirm this issue if the preview domain is different to the domain where the backend user is logged in into backend. As long as it is possible to login into backend with another domain this is more a missing feature at the moment. Problem: There is a simple check that is called before initializePreviewAction() is called if the requested user is logged in into backend. |
Hey this is strange because my domain is the same. Maybe it has something to do that we have Varnish cache on FE? |
I can confirm, I have this error also in an installation where preview domain backend domain are the same. we do not have a Varnish cache |
Resolved the problem for me |
We are currently working on the TYPO3 12/13 update for LUXletter. While digging into the code I just stumbled over https://github.com/in2code-de/luxletter/blob/develop/Classes/Domain/Service/PreviewUrlService.php#L90 - can someone please comment out line 90-92 (so function getUrlFromPageIdentifier() is not used any more) and give me feedback if this fixes the problem? |
TYPO3 v12.4.15
luxletter v26.2.0 (same on v26.1.0)
I am adding a new newsletter, select a page and get this error instead of a preview:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1560778826: You are not authenticated to see this view | In2code\Luxletter\Exception\AuthenticationFailedException thrown in file /var/www/html/typo3conf/ext/luxletter/Classes/Controller/FrontendController.php in line 76. Requested URL: https://mysite.si/enovice/preview.html?tx_luxletter_preview%5Blanguage%5D=0&tx_luxletter_preview%5Blayout%5D=NewsletterContainer&tx_luxletter_preview%5Borigin%5D=127
In Extension Configuration -> luxletter if i remove checkbox in Multilanguage mode and define URL by myself: https://mydomain.si/enovice?type=1562349004 preview works ok
The text was updated successfully, but these errors were encountered: