#35167: JSONField get_db_prep_value being called with `Cast` types
-------------------------------------+-------------------------------------
Reporter: Samantha Hughes | Owner: Jacob
| Walls
Type: Bug | Status: closed
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: JSONField | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"0bf412111be686b6b23e00863f5d449d63557dbf" 0bf4121]:
{{{#!CommitTicketReference repository=""
revision="0bf412111be686b6b23e00863f5d449d63557dbf"
Fixed #35167 -- Delegated to super() in JSONField.get_db_prep_save().
Avoids reports of bulk_update() sending Cast expressions
to JSONField.get_prep_value().
Co-authored-by: Simon Charette <[email protected]>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35167#comment:29>
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/0107019519e3b701-c229d9bf-23f9-4a6d-998f-cf4c0d4f1586-000000%40eu-central-1.amazonses.com.