#36453: 5.2.3 introduces a regression when using `Value(None, output_field=JSONField()` in a `When` clause. -------------------------------------+------------------------------------- Reporter: Thomas | Owner: (none) Type: Bug | Status: closed Component: Database layer | Version: 5.2 (models, ORM) | Severity: Normal | Resolution: duplicate Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Thomas):
I guess this was closed as duplicate because the cause might be the same, but then I don't understand how the other ticket claims it isn't a regression. The code I posted has been working since 4.x at least. It only breaks with 5.2.3 (released June 10th), which I guess was released with a known bug (#36445, June 6th). -- Ticket URL: <https://code.djangoproject.com/ticket/36453#comment:3> 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/010701975c25862b-45efc3ff-1ab1-411d-9906-ca641647b66a-000000%40eu-central-1.amazonses.com.