#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
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"44e29ea1e906859e85bb2a46ae5ea9d82bd96f5f" 44e29ea1]:
 {{{
 #!CommitTicketReference repository=""
 revision="44e29ea1e906859e85bb2a46ae5ea9d82bd96f5f"
 [1.11.x] Fixed #28293 -- Fixed union(), intersection(), and difference()
 when combining with an EmptyQuerySet.

 Thanks Jon Dufresne for the report and Tim Graham for the review.

 Backport of 82175ead723f8fa3f9271fbd4b24275097029aab from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28293#comment:5>
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.7af253089695b2a4d8b33d4f36fb6e2b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to