Re: [Django] #36518: full_clean crashes on model with both a CheckConstraint and a GeneratedField with a Case expression (was: full_clean crashes on model with both a CheckConstraint and a GeneratedField with a Case expression (possible regression in Django 5.2))

3 views
Skip to first unread message

Django

unread,
Jul 23, 2025, 3:29:26 AMJul 23
to django-...@googlegroups.com
#36518: full_clean crashes on model with both a CheckConstraint and a
GeneratedField with a Case expression
-------------------------------------+-------------------------------------
Reporter: Olivier Dalang | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* cc: Mark Gensler, Simon Charette (added)
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
* summary:
full_clean crashes on model with both a CheckConstraint and a
GeneratedField with a Case expression (possible regression in Django
5.2)
=>
full_clean crashes on model with both a CheckConstraint and a
GeneratedField with a Case expression
* type: Uncategorized => Bug

Comment:

Thank you for the report!
Replicated, git bisected to 228128618bd895ecad235d2215f4ad4e3232595d
(#35575)
--
Ticket URL: <https://code.djangoproject.com/ticket/36518#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages