Re: [Django] #36419: bulk_update() incorrectly updates JSONField None to JSON 'null' instead of SQL NULL (was: bulk_update() incorrectly updates top-level JSONField value to JSON 'null' instead of SQL NULL)

2 views
Skip to first unread message

Django

unread,
May 27, 2025, 7:46:38 AM5/27/25
to django-...@googlegroups.com
#36419: bulk_update() incorrectly updates JSONField None to JSON 'null' instead of
SQL NULL
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner: Clifford
| Gama
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* summary:
bulk_update() incorrectly updates top-level JSONField value to JSON
'null' instead of SQL NULL
=>
bulk_update() incorrectly updates JSONField None to JSON 'null'
instead of SQL NULL

--
Ticket URL: <https://code.djangoproject.com/ticket/36419#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages