#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
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"2fd755b361d3da2cd0440fc9839feb2bb69b027b" 2fd755b3]:
{{{
#!CommitTicketReference repository=""
revision="2fd755b361d3da2cd0440fc9839feb2bb69b027b"
Fixed #34319 -- Fixed Model.validate_constraints() crash on
ValidationError with no code.
Thanks Mateusz Kurowski for the report.
Regression in 667105877e6723c6985399803a364848891513cc.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34319#comment:9>
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/0107018631ae4bfd-c1a65374-4da4-48c7-ba04-891b1e6fe95d-000000%40eu-central-1.amazonses.com.