-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[BC Break][2.4][Form] The Symfony\Component\Intl\NumberFormatter\NumberFormatter::setAttribute() method's argument $attr value 2 behavior is not implemented #9838
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
/cc @bschussek |
@Koc if this is in a SE fork please push it reproducing the problem, it saves tons of time to @bschussek and whoever else really. Thanks! |
Ok, will do |
@cordoval , @bschussek done. Referenced commit works fine with Symfony 2.3 and fails on 2.4. |
I seem to be running into this issue as well... |
@Koc I've forked your repo and when I'm running provided |
@pamil looks like you have intl extension installed. |
@Koc That's true. Working on your issue right now :) |
…ROUND_DOWN, ROUND_UP (pamil) This PR was squashed before being merged into the 2.4 branch (closes #9895). Discussion ---------- [Intl] Added round support for ROUND_CEILING, ROUND_FLOOR, ROUND_DOWN, ROUND_UP | Q | A | ------------- | --- | Bug fix? | yes | New feature? | yes | BC breaks? | no, actually it fixes some | Deprecations? | no | Tests pass? | yes | Fixed tickets | #9838 | License | MIT | Doc PR | Adds support for 4 unsupported rounding modes (ROUND_CEILING, ROUND_FLOOR, ROUND_DOWN, ROUND_UP) in `NumberFormatter` from `Intl` component, so that `Symfony\Component\Form\Extension\Core\DataTransformer\IntegerToLocalizedStringTransformer` won't throw exception if `lib-intl` is not installed. Commits ------- f5fee9a [Intl] Added round support for ROUND_CEILING, ROUND_FLOOR, ROUND_DOWN, ROUND_UP
The form:
The Propel Model:
It works on the 2.3 but on 2.4 got an exception:
The text was updated successfully, but these errors were encountered: