From 1f31027bb3ad460864fbcbbb89eeb328c0a2f184 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Mon, 12 Oct 2020 13:02:12 +0200 Subject: Refs #32096 -- Fixed crash of ArrayAgg/StringAgg/JSONBAgg with ordering over JSONField key transforms. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Igor Jerosimić for the report. --- docs/releases/3.1.3.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/releases/3.1.3.txt b/docs/releases/3.1.3.txt index 4236efce1b..4f547577ce 100644 --- a/docs/releases/3.1.3.txt +++ b/docs/releases/3.1.3.txt @@ -20,3 +20,9 @@ Bugfixes :class:`forms.JSONField ` and read-only :class:`models.JSONField ` values in the admin (:ticket:`32080`). + +* Fixed a regression in Django 3.1 that caused a crash of + :class:`~django.contrib.postgres.aggregates.ArrayAgg`, + :class:`~django.contrib.postgres.aggregates.JSONBAgg`, and + :class:`~django.contrib.postgres.aggregates.StringAgg` with ``ordering`` + on key transforms for :class:`~django.db.models.JSONField` (:ticket:`32096`). -- cgit v1.3