#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:"9123fd75caa595c018d4121575cbada80226b4f2" 9123fd7]:
{{{
#!CommitTicketReference repository=""
revision="9123fd75caa595c018d4121575cbada80226b4f2"
[2.0.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: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/064.6fbfc49f98c13f3331490d8e8bc9a4b0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.