So, I ran into what I thought was a bug today. The issue involved CF's built-in server-side validation (where you use hidden form fields to mark form items as required, and apply certain validation fields). I don't use this feature very often (this was a client's site) so I had to read a bit to see what was going on. The client had set it up so that a field for the phone number was marked as required, and marked as being integer only. When I entered a phone number like 9999999999, it returned another number. This happaned every time... until I entered 1112223333. What was happening was that 9999999999 was over Java's maximum size for Integer values. The bug then is that CF should have said my number was too high instead of simply changing it to the maximum number.
(This post is more than 2 years old.)
Issue with CF Server Side Validation
Support this Content!
If you like this content, please consider supporting me. You can become a Patron, visit my Amazon wishlist, or buy me a coffee! Any support helps!
Want to get a copy of every new post? Use the form below to sign up for my newsletter.