#28293: QuerySet.union(QuerySet.none()) results in an empty queryset, should be
the
original queryset
-------------------------------------+-------------------------------------
Reporter: Jon Dufresne | Owner: felixxm
Type: Bug | Status: closed
Component: Database layer | Version: 1.11
(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:"82175ead723f8fa3f9271fbd4b24275097029aab" 82175ead]:
{{{
#!CommitTicketReference repository=""
revision="82175ead723f8fa3f9271fbd4b24275097029aab"
Fixed #28293 -- Fixed union(), intersection(), and difference() when
combining with an EmptyQuerySet.
Thanks Jon Dufresne for the report and Tim Graham for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28293#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.fe67ca641462fee454efbdbf10bbc95b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.