#36445: Value(None, output_field=JSONField()) incorrectly saves as SQL NULL in
bulk_update()
-------------------------------------+-------------------------------------
     Reporter:  Clifford Gama        |                    Owner:  Uddyan
                                     |  Goyal
         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:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * needs_better_patch:  0 => 1

Comment:

 I see that there is a growing consensus to pursue `JSONNull` (ref
 ticket:36445#comment:4, ticket:35381#comment:10, ticket:36445#comment:11).
 We should pursue this before bolting on more logic to trying to resolve
 the json null problem (note that I confirmed that this test in the PR has
 been failing since at least Django 4.1 and potentially has never worked)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36445#comment:12>
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 visit 
https://groups.google.com/d/msgid/django-updates/010701978cb85903-1bf30791-e266-400a-a5ff-653cb160ed6b-000000%40eu-central-1.amazonses.com.

Reply via email to