#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:"590a92e4562c8ebd3eb25dc1e878bd1e3eb758d4" 590a92e4]:
{{{
#!CommitTicketReference repository=""
revision="590a92e4562c8ebd3eb25dc1e878bd1e3eb758d4"
[4.1.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:11>
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/0107018631aff51a-2a914c8d-f763-45a6-8731-749b2e076a1b-000000%40eu-central-1.amazonses.com.