#34706: Aggregation on annotated field fails starting on Django 4.2.2, when the
aggregation has the same name as the annotation
-------------------------------+--------------------------------------
     Reporter:  Lorenzo Peña   |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  closed
    Component:  Uncategorized  |                  Version:  4.2
     Severity:  Normal         |               Resolution:  duplicate
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by Lorenzo Peña):

 Marius, I apologize if I sounded demanding or challenging. Let me try
 again.

 The behavior reported here started happening in the patch release 4.2.2.
 The code where it's breaking for me used to work properly in 4.2.0 and
 4.2.1. I was expecting either a fix in the 4.2 series, or in the 5.0
 series, or at least a resolution in the form of documentation. In my code
 I have the Django version pinned to 4.2.1. I would like to make a decision
 on whether to continue waiting, or changing my code to not use the same
 name in the annotation and the aggregation. When I asked what the
 "expected course of action from our side" was, I was referring to that.

 I really wish I could do more to Django, but I lack the in-depth knowledge
 to do so. Unfortunately, preparing a patch is not a viable option for me.
 I can, however, change my own codebase so that it doesn't have the
 breaking behavior, which from your response I assume I should do.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34706#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018aac592ad1-65dd6694-a811-4a08-8279-38534cc4c84b-000000%40eu-central-1.amazonses.com.

Reply via email to