You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value is blank in the underlying object because the data transformer of the decimal type failed to transform the value (thus adding the first error message). Symfony 2.1 does not display the extra errors anymore when the value was not bound properly.
Commits
-------
854daa8 [Form] Fixed errors not to be added onto non-synchronized forms
Discussion
----------
[Form] Fixed errors not to be added onto non-synchronized forms
Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #4686
Todo: -
If I post the form having non-decimal number I have incorrect validation messages:
The value I tested is "x12.004". Obviously it is not blank :)
This bug report is for sf 2.0.15.
I haven't tried using sf 2.1.
The text was updated successfully, but these errors were encountered: