#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
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton.gibson@…>):

 In [changeset:"134638176080eba48b9b3a2e484bfee1cb8beaec" 1346381]:
 {{{
 #!CommitTicketReference repository=""
 revision="134638176080eba48b9b3a2e484bfee1cb8beaec"
 [3.2.x] 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.

 Backport of c542d0a07237033225c1d57337ca9474a00648f2 from main
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32949#comment:6>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4785328e30d392cde6c6a04147e3a905%40djangoproject.com.

Reply via email to