#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
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):
In [changeset:"43aa6990ac0fa8472397a3c4e0f5d963006af798" 43aa6990]:
{{{#!CommitTicketReference repository=""
revision="43aa6990ac0fa8472397a3c4e0f5d963006af798"
[5.2.x] Refs #35167 -- Fixed test_bulk_update_custom_get_prep_value()
crash on databases that don't support primitives in JSONFields.
For example on Oracle < 21c.
Backport of 7500044a825b3e6695f4f0f9e56d5bdc0c5d7988 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35167#comment:32>
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/010701952239588c-a54c855d-b2f6-4aa1-b464-69e7aee41cbf-000000%40eu-central-1.amazonses.com.