#23259: Query extra() select_params are inserted in the incorrect order in the
overall query parameters with values_list
-------------------------------------+-------------------------------------
Reporter: rajivm | Owner: akaariai
Type: Bug | Status: closed
Component: Database layer | Version: 1.7-rc-2
(models, ORM) | Resolution: fixed
Severity: Release blocker | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by Anssi Kääriäinen <akaariai@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"f0b358880a6825d667c037757caac470bc526a1f"]:
{{{
#!CommitTicketReference repository=""
revision="f0b358880a6825d667c037757caac470bc526a1f"
Fixed #23259 -- Corrected insertion order of extra() select_params
A regression caused queries to produce incorrect results for cases where
extra(select) is excluded by values() but included by extra(order_by)
The regression was caused by 2f35c6f10fcbae541691207fb0c0560a13b754fc.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23259#comment:10>
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.da2dd9e21bc191a9344b6e6c7437af18%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.