If you restrict a Number field with a min or max value, the validation messages are not precise.
For example, if you set a minimum value of 0.01, the error message is !name field value must be greater than 0.01., but that's not true, because it may also be equal to 0.01. This happens similarly when setting a maximum value.
In addition, the description is also inaccurate: Minimum numeric value. For example, 0 would ensure positive numbers.
Zero is neither positive nor negative, so it's more accurate to say non-negative instead of positive.
I do not know if the Drupal 8 branch has the same problems or not.
Comments
Comment #2
solideogloria commentedComment #3
solideogloria commentedComment #4
solideogloria commentedComment #6
solideogloria commentedFixed tests to match.
Comment #8
liam morlandThanks