-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Preview link does not open FE preview #1968
Comments
I'm pretty sure that's the same behavior in Contao 4.9 😂 Preview is only if you click the preview in the header. Not any other links… |
I can reproduce this by clicking exactly this button. |
This happens because the Edit: It should probably just return this instead, does it? return new RedirectResponse($this->previewScript); |
In my Contao 4.9, it correctly redirects to /preview.php, which is correct. The |
@richardhj When is it correct to redirect to |
In 4.9 the line looked like this: return new RedirectResponse($this->router->generate('contao_root', [], UrlGeneratorInterface::ABSOLUTE_URL)); |
IMHO the bigger issue is that the "open frontend as member …" feature is broken. Not sure whether these two are related? |
It seems they are: #1972 🎉 |
Description ----------- | Q | A | -----------------| --- | Fixed issues | Fixes contao#1968 | Docs PR or issue | - Commits ------- 8f44044 Fix the front end preview 0c321e4 Use Request::getBaseUrl() 9e3c402 Reset the tests 3148aee Adjust the test
Affected version(s)
Contao 4.10
Description
preview.php
fragment)So it seems that the
/contao/preview
route with anything but?page=
is broken?@aschempp @richardhj /cc
The text was updated successfully, but these errors were encountered: