Opened 16 years ago

Closed 16 years ago

#9187 closed (duplicate)

forms.DecimalField validation crashes on "INF"

Reported by: epandurski Owned by: nobody
Component: Forms Version: 1.0
Severity: Keywords: decimal, forms
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The same is true for '-INF', 'INFINITY', 'inf' etc.

Exception is raised in DecimalField's clean() method trying to
obtain abs(), obviously it is assumed that infinite values
have been already filtered.

Change History (1)

comment:1 by Ivan Giuliani, 16 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #7777.

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