Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] Don't force AbstractController::handleForm() to return a Response#41184
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
lyrixx commentedMay 12, 2021
this does not work: you can not set status code on something else than a response. the check is done after the call to |
nicolas-grekas commentedMay 12, 2021
indeed, fixed! |
nicolas-grekas commentedMay 12, 2021
Closing as this doesn't solve the UX turbo concern and opens a new pattern that we should think more about. |
Uh oh!
There was an error while loading.Please reload this page.
As noted by@lyrixx and@dunglas, forcing a
Responsehere is less flexible as eg it prevents using@Templateand other kind of view listeners.