-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Some form errors are no longer shown since 3.4.41 #37025
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
Comments
It's not even as complex as
So far I've found the And then maybe the |
Thank you for the feedback. I am working on a patch. |
Can you both confirm that #37085 would fix this issue? |
It solves the issue for me |
@ostrolucky Thank you for the confirmation. 👍 |
This PR was merged into the 3.4 branch. Discussion ---------- [Form] properly cascade validation to child forms | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #37025, Fix #37027 | License | MIT | Doc PR | TODO: - [x] improve test coverage Commits ------- 7df5298 properly cascade validation to child forms
Symfony version(s) affected: 3.4.41
Description
Since b819d94 some form field errors have been hidden.
How to reproduce
I am able to reproduce when using
property_path
option set to field to another object andform_rest
. Attaching reproducer symfony-demo.zipGo to http://127.0.0.1:8000/en/admin/post/1/edit and hit submit. Field "author name" should show error, but doesn't. Web profiler toolbar does show form error.
cc @xabbuh
The text was updated successfully, but these errors were encountered: