#34319: Model.validate_constraints() crashes when constraint's validate() raises
ValidationError without a code.
-------------------------------------+-------------------------------------
     Reporter:  Mateusz Kurowski     |                    Owner:  Mariusz
                                     |  Felisiak
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  4.1
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  Model,               |             Triage Stage:  Ready for
  validate_constraints,              |  checkin
  ValidationError, code, message     |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"836ae73a8962876a3beb98bc711fa397d700c82f" 836ae73]:
 {{{
 #!CommitTicketReference repository=""
 revision="836ae73a8962876a3beb98bc711fa397d700c82f"
 [4.2.x] Fixed #34319 -- Fixed Model.validate_constraints() crash on
 ValidationError with no code.

 Thanks Mateusz Kurowski for the report.

 Regression in 667105877e6723c6985399803a364848891513cc.
 Backport of 2fd755b361d3da2cd0440fc9839feb2bb69b027b from main
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34319#comment:10>
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/0107018631af82fd-83312c84-9ed1-43b5-b69c-5fad3818b8cd-000000%40eu-central-1.amazonses.com.

Reply via email to