I have a "number (decimal)" field on one of my content types, with a precision of 11, scale 2. If I try to enter any numbers above 3595117, I get a validation error "Amount is not a valid number". I'm entering only whole numbers, no decimal or anything other than digits.
The screenshot shows the error.
I marked this critical because the purpose of the site is to track investments - which are likely to exceed that value.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | issue-2693467.png | 43.27 KB | karthikkumarbodu |
| invalid-number.png | 111.74 KB | extexan |
Comments
Comment #2
swentel commentedDuplicate of #2230909: Simple decimals fail to pass validation - which is marked major (which is fine enough)
Comment #3
swentel commentedNote: it'd be great if you could test the patch in that issue, if it works for you, then we have confirmation and you can mark it RTBC.
Comment #4
karthikkumarbodu commentedHi Doug Fowler,
I tried reproducing the issue but its not reproducible. I created field of type "number (decimal)" in Article content type, with a precision of 11, scale 2 and I was able to save the node with no validation errors. Attaching screenshot for your reference.
Thanks,
Karthik
Comment #5
marcingy commentedComment #6
extexan commented@karthikkumarbodu,
I'm not sure what the difference is between our two situations, but I applied the patch in the issue @swentel referred me to and it fixed my problem.