Closed (fixed)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2014 at 22:34 UTC
Updated:
5 May 2014 at 03:00 UTC
Jump to comment: Most recent
In #1813200: Validation of field type number fails for decimal separator, we corrected handling of non-period decimal place holders, but at the same time we broke handling of negative numbers. When any negative number is entered, this validation error is thrown on submit: @name field value must format numbers as "12,345.68".
We actually have automated tests for this, but they weren't run before the release. I've enabled automated testing on the Webform project, so hopefully we can avoid these regressions in the future.
| Comment | File | Size | Author |
|---|---|---|---|
| webform_number_negative.patch | 1.35 KB | quicksketch |
Comments
Comment #1
quicksketchComment #2
quicksketchCommitted this to all branches of the project.
Comment #4
quicksketchThanks for testing this 5 days later testbot. :P Moving back to fixed.
Comment #6
fenstratNeeds porting to 8.x-4.x.
Comment #7
fenstratCommitted and pushed 321c088 to 8.x-4.x. Thanks!