#35024: Creating model objects crashes on fields with database converters when RETURNING is not supported. -------------------------------------+------------------------------------- Reporter: Mariusz Felisiak | Owner: Mariusz | Felisiak Type: Bug | Status: closed Component: Database layer | Version: 5.0 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"415a08a5283a0f76408ec23c6f6af4a0002d7651" 415a08a5]: {{{ #!CommitTicketReference repository="" revision="415a08a5283a0f76408ec23c6f6af4a0002d7651" [5.0.x] Fixed #35024 -- Fixed model instance creation crash on GeneratedField.output_field with backend converters. Regression in d9de74141e8a920940f1b91ed0a3ccb835b55729. This is a long standing issue, however it caused a crash of GeneratedFields for all output fields that have backend-specific converters when the RETURNING clause is not supported (MySQL and SQLite < 3.35). That's why severity was exacerbated. Backport of 5b3b791e9046461901df3898be8544e14d91b931 from main }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35024#comment:5> 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 on the web visit https://groups.google.com/d/msgid/django-updates/0107018c45d5a9b7-d87c519b-9442-4cfe-a86b-edd8004fb07f-000000%40eu-central-1.amazonses.com.