Opened 5 years ago

Closed 5 years ago

#22143 closed Uncategorized (duplicate)

Default bounds checking for Integer fields.

Reported by: dimyur27@… Owned by: nobody
Component: Forms Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no


I think that informing people that certain input values are safe is not enough.
When you create a ModelForm with minimal code, its integer fields do not check if the input violates the boundaries.
So when the end-user inputs large integer, he just gets Server Error (500)
Exception DataError: *int out of range. is generated.

Change History (4)

comment:1 Changed 5 years ago by anonymous

Has patch: set

comment:3 Changed 5 years ago by gregchapple

Needs tests: set
Patch needs improvement: set
Triage Stage: UnreviewedAccepted

comment:4 Changed 5 years ago by Tim Graham

Resolution: duplicate
Status: newclosed

Duplicate of #12030

Note: See TracTickets for help on using tickets.
Back to Top