Opened 6 years ago
Last modified 6 years ago
#29694 closed Bug
QuerySet.values_list() combined with .extra() or .annotate() may produce wrong .union() — at Version 2
Reported by: | master | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 2.1 |
Severity: | Normal | Keywords: | union values_list |
Cc: | Mariusz Felisiak | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Change History (2)
comment:1 by , 6 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 6 years ago
Description: | modified (diff) |
---|---|
Resolution: | duplicate |
Status: | closed → new |
Triage Stage: | Unreviewed → Accepted |
Since a fix for that ticket has been released, it's appropriate to open a new ticket. It seems that the test that was added in the patch doesn't precisely reflect the steps to reproduce.
Note:
See TracTickets
for help on using tickets.
Please don't deliberately open duplicate tickets.
If there is still an issue on #29229, please comment there.
See the test case introduced in a0c03c62a8ac586e5be5b21393c925afa581efaf. Can you adjust this to demonstrate the issue you are still seeing? If so, we can re-open #29229 and address this.
(Either way we need some information to go on as to how to replicate the issue you are seeing. As far as we were aware the issue in the original description was already resolved...)