#35643: Regression in Queryset sequence of value, annotate, order, value
-------------------------------------+-------------------------------------
Reporter: Gert Van Gool | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Database layer | Version: 5.1
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):
In [changeset:"55f529270125e17bf428585734dbcb33332a46de" 55f5292]:
{{{#!CommitTicketReference repository=""
revision="55f529270125e17bf428585734dbcb33332a46de"
[5.1.x] Fixed #35643 -- Fixed a crash when ordering a QuerySet by a
reference containing "__".
Regression in b0ad41198b3e333f57351e3fce5a1fb47f23f376.
Refs #34013. The initial logic did not consider that annotation aliases
can include lookup or transform separators.
Thanks Gert Van Gool for the report and Mariusz Felisiak for the review.
Backport of a16f13a8661297eda12c4177bb01fa2e5b5ccc56 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35643#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/01070191148b301b-3eefddc0-7c7b-4726-a87c-ca2399ca78e2-000000%40eu-central-1.amazonses.com.