#29694: QuerySet.values_list() combined with .extra() may produce wrong .union()
-------------------------------------+-------------------------------------
     Reporter:  master               |                    Owner:  felixxm
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  2.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  union values_list    |             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:"e7acd99113dfedee1bfcdadd2f81db96ab01e95d" e7acd99]:
 {{{
 #!CommitTicketReference repository=""
 revision="e7acd99113dfedee1bfcdadd2f81db96ab01e95d"
 [2.1.x] Fixed #29694 -- Fixed column mismatch crash with QuerySet.values()
 or values_list() after combining querysets with extra() with union(),
 difference(), or intersection().

 Regression in 0b66c3b442875627fa6daef4ac1e90900d74290b.
 Backport of 39461a83c33f0cfe719d3b139413d1f5d1e75d5e from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29694#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 [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/064.d32cd7803e08daf40ef988243f78d5ac%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to