#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
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"39461a83c33f0cfe719d3b139413d1f5d1e75d5e" 39461a8]:
{{{
#!CommitTicketReference repository=""
revision="39461a83c33f0cfe719d3b139413d1f5d1e75d5e"
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.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29694#comment:8>
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.434d7414fe68b5646c53e9e7d26db7a9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.