Re: [Django] #32116: QuerySet.order_by() crashes on union() queryset with a single non-empty query.

7 views
Skip to first unread message

Django

unread,
Oct 19, 2020, 3:12:22 AM10/19/20
to django-...@googlegroups.com
#32116: QuerySet.order_by() crashes on union() queryset with a single non-empty
query.
-------------------------------------+-------------------------------------
Reporter: Hannes Ljungberg | Owner: hannes
| ljungberg
Type: Bug | Status: closed
Component: Database layer | Version: 3.1
(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 Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"c7c7615d005b1454e6958a4ee35a3a976d12319e" c7c7615d]:
{{{
#!CommitTicketReference repository=""
revision="c7c7615d005b1454e6958a4ee35a3a976d12319e"
Fixed #32116 -- Fixed QuerySet.order_by() crash on EmptyQuerySet with
union() on a single non-empty ordered queryset.
}}}

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

Reply all
Reply to author
Forward
0 new messages