-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Make sure to collect child forms created on *_SET_DATA events #33999
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
Conversation
wouldn't this have a bad side-effect if the call to |
@stof in that case |
I've also checked the case when dynamic child forms are added on symfony/src/Symfony/Component/Form/Extension/DataCollector/FormDataCollector.php Lines 151 to 155 in 29cabf9
|
093d50e
to
f8e779a
Compare
I've changed the solution consistent with |
Is it possible to add a testcase? |
703f79e
to
3d5f12b
Compare
3d5f12b
to
50efc1a
Compare
…ATA events (yceruto) This PR was merged into the 3.4 branch. Discussion ---------- [Form] Make sure to collect child forms created on *_SET_DATA events | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #29291 | License | MIT | Doc PR | - See reproducer provided by @WubbleWobble https://github.com/WubbleWobble/symfony-issue-29291. Commits ------- 50efc1a Make sure to collect child forms created on *_SET_DATA events
See reproducer provided by @WubbleWobble https://github.com/WubbleWobble/symfony-issue-29291.