Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Validator] Fixed calling getters before resolving groups#36245
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
[Validator] Fixed calling getters before resolving groups#36245
Uh oh!
There was an error while loading.Please reload this page.
Conversation
HeahDude commentedMar 27, 2020
| Q | A |
|---|---|
| Branch? | 3.4 |
| Bug fix? | yes |
| New feature? | no |
| Deprecations? | no |
| Tickets | Fix#9939 |
| License | MIT |
| Doc PR | ~ |
675b779 to5741d3eCompareUh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Tests/Validator/RecursiveValidatorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Tests/Validator/RecursiveValidatorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
6c68c39 to4c91f52Compare4c91f52 toe802cf8Comparee802cf8 toedcfd60Comparenicolas-grekas commentedMar 31, 2020
Thank you@HeahDude. |
This PR was merged into the 3.4 branch.Discussion----------[Form] Fixed handling groups sequence validation| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets |FIx#9939 (comment),Fix#35556| License | MIT| Doc PR | ~This is not the same as the original issue fixed by#36245, that was reported in#9939 (comment).The form also fails to cascade sequence validation properly because each nested field is validated against the sequence, and one can fail at a step independently from another which could failed in another step. I've added a lot of tests to ensure this is working properly and tested in a website skeleton too.This PR aims toclose#35556 which tries to fix the same issue but afterwards in its implementation as said in#35556 (comment).Commits-------dfb61c2 [Form] Fixed handling groups sequence validation
bendavies commentedApr 29, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
this is buggy. it breaks traversal of getters returning collections annotated with |