#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: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Simon Charette):
* cc: Simon Charette (added) Comment: > Now that we know this isn't a regression I wasn't involved in the regression status determination, my comment was referring to [https://github.com/django/django/pull/19503#discussion_r2130245705 this discussion] and assuming it was the case. It is possible that the issue you reported in #36453 is a valid regression in Django 5.2.3 for a slightly different scenario as `When` / `Case` have a variation of expression resolving than `Coalesce`. If you can write a regression test that fails pass for < 5.2 and fail for 5.2.3 then it is effectively a regression and closing #36453, and potentially categorizing this ticket as an issue predating 5.2, was likely a triage mistake. -- Ticket URL: <https://code.djangoproject.com/ticket/36445#comment:7> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-updates/010701975c621653-2f88859d-386d-4972-8dd4-324a2d35962f-000000%40eu-central-1.amazonses.com.