-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[3.2][Form] Empty strings instead of null in CountryType #20759
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
Labels
Comments
Hey @geoffrey-brier, have some time to add the minimum of code in a fork of symfony standard to reproduce this? I'll have a look when I can, thanks! |
Closing due to the lack of feedback. @geoffrey-brier Please comment if you can provide additional information and we can consider to reopen. |
Will be closed by #21481. Status: reviewed |
fabpot
added a commit
that referenced
this issue
Mar 5, 2017
This PR was merged into the 3.2 branch. Discussion ---------- [Form] Fixed empty conversion of Intl types | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #20759, #21475 | License | MIT | Doc PR | ~ Commits ------- e43bfaf [Form] Fixed empty conversion of Intl types
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading in 3.2, when I submit a form which contains some
CountryType
elements and I don't submit those ones, then the value saved is an empty string while in 3.1 and below it was null.According to the documentation of the
CountryType
, it's the intended behaviour but my tests are telling me that something changed.The text was updated successfully, but these errors were encountered: