#23259: Query extra() select_params are inserted in the incorrect order in the
overall query parameters with values_list
-------------------------------------+-------------------------------------
     Reporter:  rajivm               |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.7-rc-2
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by rajivm):

 This bug seems to have been introduced at
 2f35c6f10fcbae541691207fb0c0560a13b754fc when trying to resolve ticket
 #14930.

 Based on some cursory research into the source of the bug, it looks like
 the parameters are simply being inserted too early by the sql compiler in
 this situation, and I have created a patch (sans tests) and created a
 pull-request: https://github.com/django/django/pull/3033. It's late now,
 but I will try to add tests to it tomorrow.

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

Reply via email to