#32949: decimal.InvalidOperation error on DecimalField form field
-------------------------------------+-------------------------------------
Reporter: yakimka | Owner: yakimka
Type: Bug | Status: closed
Component: Forms | Version: 3.2
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson <carlton.gibson@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"c542d0a07237033225c1d57337ca9474a00648f2" c542d0a]:
{{{
#!CommitTicketReference repository=""
revision="c542d0a07237033225c1d57337ca9474a00648f2"
Fixed #32949 -- Restored invalid number handling in
DecimalField.validate().
DecimalField must itself validate() values, such as NaN, which cannot be
passed to validators, such as MaxValueValidator, during the
run_validators() phase.
Regression in cc3d24d7d577f174937a0744d886c4c7123cfa85.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32949#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.98c8d33a04828fb1221d190d64d3373c%40djangoproject.com.