#29229: QuerySet.values_list() combined with .extra() or .annotate() may produce
wrong .union()
-------------------------------------+-------------------------------------
     Reporter:  master               |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.11
  (models, ORM)                      |
     Severity:  Release blocker      |               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 Tim Graham <timograham@…>):

 In [changeset:"c5bb472095f02df364f9a0ce64f0b97bfd4a8c63" c5bb472]:
 {{{
 #!CommitTicketReference repository=""
 revision="c5bb472095f02df364f9a0ce64f0b97bfd4a8c63"
 [1.11.x] Fixed #29229 -- Fixed column mismatch crash when combining two
 annotated values_list() querysets with union(), difference(), or
 intersection().

 Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e.

 Backport of a0c03c62a8ac586e5be5b21393c925afa581efaf from master
 }}}

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

Reply via email to