Re: [Django] #34013: order_by() crashes with annotated JSONObject/ArrayAgg fields.

7 views
Skip to first unread message

Django

unread,
Dec 8, 2023, 2:00:53 AM12/8/23
to django-...@googlegroups.com
#34013: order_by() crashes with annotated JSONObject/ArrayAgg fields.
-------------------------------------+-------------------------------------
Reporter: Eugene Morozov | Owner: Simon
| Charette
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: orm, json, ordering | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* owner: Aman Pandey => Simon Charette
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/34013#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 8, 2023, 2:38:59 AM12/8/23
to django-...@googlegroups.com
#34013: order_by() crashes with annotated JSONObject/ArrayAgg fields.
-------------------------------------+-------------------------------------
Reporter: Eugene Morozov | Owner: Simon
| Charette
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: orm, json, ordering | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* has_patch: 0 => 1


Comment:

Feels like this is more of a new feature than a bug after all since adding
support for `JSONObject` key ordering required adding generic support for
ordering by annotation transforms.

--
Ticket URL: <https://code.djangoproject.com/ticket/34013#comment:13>

Reply all
Reply to author
Forward
0 new messages