#34551: Case-When aggregation over aggregated fields doesn't work since 4.2
-------------------------------------+-------------------------------------
     Reporter:  Denis Roldán         |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  4.2
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  aggregate subquery   |             Triage Stage:  Ready for
  annotation                         |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"c78a4421de0fc3240b91d59e8f9028331777c624" c78a442]:
 {{{
 #!CommitTicketReference repository=""
 revision="c78a4421de0fc3240b91d59e8f9028331777c624"
 [4.2.x] Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing
 subqueries.

 Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7.

 Refs #28477.

 Thanks Denis Roldán and Mariusz for the test.

 Backport of e5c844d6f2a4ac6ae674d741b5f1fa2a688cedf4 from main
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34551#comment:13>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070188471fc116-de137471-7b2e-4d66-b5be-87bbb2c22534-000000%40eu-central-1.amazonses.com.

Reply via email to