#29286: QuerySet.values_list() crashes when combining annotated and 
not-annotated
querysets with union().
-------------------------------------+-------------------------------------
     Reporter:  felixxm              |                    Owner:  felixxm
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.11
  (models, ORM)                      |
     Severity:  Release blocker      |               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
-------------------------------------+-------------------------------------

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

 In [changeset:"f89b11b879b83aa505dc8231da5f06ca4b1b062e" f89b11b8]:
 {{{
 #!CommitTicketReference repository=""
 revision="f89b11b879b83aa505dc8231da5f06ca4b1b062e"
 [1.11.x] Fixed #29286 -- Fixed column mismatch crash with
 QuerySet.values() or values_list() after combining an annotated and
 unannotated queryset with union(), difference(), or intersection().

 Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf.

 Thanks Tim Graham and Carlton Gibson for reviews.

 Backport of 0b66c3b442875627fa6daef4ac1e90900d74290b from master.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29286#comment:9>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.3e2316f8b33dfbbbb854c687e2351f7e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to