Re: [Django] #33816: QuerySet.only() after select_related() crash on proxy models.

8 views
Skip to first unread message

Django

unread,
Jul 3, 2022, 3:18:48 PM7/3/22
to django-...@googlegroups.com
#33816: QuerySet.only() after select_related() crash on proxy models.
-------------------------------------+-------------------------------------
Reporter: Ipakeev | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ipakeev):

* cc: Ipakeev (added)
* status: new => closed
* has_patch: 0 => 1
* resolution: => fixed
* stage: Accepted => Ready for checkin


Comment:

I created a pull request: [https://github.com/django/django/pull/15814]

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

Django

unread,
Jul 3, 2022, 6:47:30 PM7/3/22
to django-...@googlegroups.com
#33816: QuerySet.only() after select_related() crash on proxy models.
-------------------------------------+-------------------------------------
Reporter: Ipakeev | Owner: nobody
Type: Bug | Status: new

Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | 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 Tim Graham):

* status: closed => new
* resolution: fixed =>
* stage: Ready for checkin => Accepted


Comment:

The ticket is closed when the fix is committed. Also, "Ready for checkin"
is set by a patch reviewer, not the patch author (see
[https://docs.djangoproject.com/en/dev/internals/contributing/triaging-
tickets/ Triaging tickets]).

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

Django

unread,
Jul 3, 2022, 11:53:56 PM7/3/22
to django-...@googlegroups.com
#33816: QuerySet.only() after select_related() crash on proxy models.
-------------------------------------+-------------------------------------
Reporter: Ipakeev | Owner: Ipakeev
Type: Bug | Status: assigned

Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | 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 => Ipakeev
* status: new => assigned


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

Django

unread,
Jul 4, 2022, 12:38:20 AM7/4/22
to django-...@googlegroups.com
#33816: QuerySet.only() after select_related() crash on proxy models.
-------------------------------------+-------------------------------------
Reporter: Ipakeev | Owner: Ipakeev
Type: Bug | Status: closed

Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | 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:"425718726b7d2edd7b8a043f8976e437262b5098" 42571872]:
{{{
#!CommitTicketReference repository=""
revision="425718726b7d2edd7b8a043f8976e437262b5098"
Fixed #33816 -- Fixed QuerySet.only() after select_related() crash on
proxy models.
}}}

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

Reply all
Reply to author
Forward
0 new messages