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.

CommentFileSizeAuthor
#4 issue-2693467.png43.27 KBkarthikkumarbodu
invalid-number.png111.74 KBextexan

Comments

ExTexan created an issue. See original summary.

swentel’s picture

Status: Active » Closed (duplicate)
Related issues: +#2230909: Simple decimals fail to pass validation

Duplicate of #2230909: Simple decimals fail to pass validation - which is marked major (which is fine enough)

swentel’s picture

Note: 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.

karthikkumarbodu’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new43.27 KB

Hi 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

marcingy’s picture

Status: Needs review » Closed (duplicate)
extexan’s picture

@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.