Re: [Django] #33902: UniqueConstraint's validation crashes with string expressions.

1 view
Skip to first unread message

Django

unread,
Aug 8, 2022, 12:11:22 AM8/8/22
to django-...@googlegroups.com
#33902: UniqueConstraint's validation crashes with string expressions.
-------------------------------------+-------------------------------------
Reporter: Adam Zahradník | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 4.1
(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 Mariusz Felisiak):

* Attachment "ticket-33902-regression.diff" added.

Regression test.

--
Ticket URL: <https://code.djangoproject.com/ticket/33902>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 8, 2022, 6:09:25 AM8/8/22
to django-...@googlegroups.com
#33902: UniqueConstraint's validation crashes with string expressions.
-------------------------------------+-------------------------------------
Reporter: Adam Zahradník | Owner: Mariusz
| Felisiak
Type: Bug | Status: assigned

Component: Database layer | Version: 4.1
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* owner: nobody => Mariusz Felisiak
* status: new => assigned
* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/15933 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/33902#comment:3>

Django

unread,
Aug 9, 2022, 12:09:40 AM8/9/22
to django-...@googlegroups.com
#33902: UniqueConstraint's validation crashes with string expressions.
-------------------------------------+-------------------------------------
Reporter: Adam Zahradník | Owner: Mariusz
| Felisiak
Type: Bug | Status: closed

Component: Database layer | Version: 4.1
(models, ORM) |
Severity: Release blocker | Resolution: fixed

Keywords: | Triage Stage: Accepted
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:"63884829acd207404f2a5c3cc1d6b4cd0a822b70" 6388482]:
{{{
#!CommitTicketReference repository=""
revision="63884829acd207404f2a5c3cc1d6b4cd0a822b70"
Fixed #33902 -- Fixed Meta.constraints validation crash with F()
expressions.

Thanks Adam Zahradník for the report.

Bug in 667105877e6723c6985399803a364848891513cc.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33902#comment:4>

Django

unread,
Aug 9, 2022, 12:10:33 AM8/9/22
to django-...@googlegroups.com
#33902: UniqueConstraint's validation crashes with string expressions.
-------------------------------------+-------------------------------------
Reporter: Adam Zahradník | Owner: Mariusz
| Felisiak
Type: Bug | Status: closed
Component: Database layer | Version: 4.1
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Accepted
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:"6b0193146d3818d17d231b8e3d9fb38f06f55757" 6b019314]:
{{{
#!CommitTicketReference repository=""
revision="6b0193146d3818d17d231b8e3d9fb38f06f55757"
[4.1.x] Fixed #33902 -- Fixed Meta.constraints validation crash with F()
expressions.

Thanks Adam Zahradník for the report.

Bug in 667105877e6723c6985399803a364848891513cc.
Backport of 63884829acd207404f2a5c3cc1d6b4cd0a822b70 from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33902#comment:5>

Reply all
Reply to author
Forward
0 new messages