#35350: Crash on write of new instance when using GeneratedField
-------------------------------------+-------------------------------------
Reporter: Matt Hegarty | Owner: Sarah
| Boyce
Type: Bug | Status: closed
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: GeneratedField | 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:"f075a19e856ced33ddfb0e1330b5c277ddb14bfe" f075a19e]:
{{{#!CommitTicketReference repository=""
revision="f075a19e856ced33ddfb0e1330b5c277ddb14bfe"
[5.0.x] Fixed #35350 -- Fixed save() with pk set on models with
GeneratedFields.
Thanks Matt Hegarty for the report and Simon Charette and Natalia Bidart
for the reviews.
Regression in f333e35.
Backport of 8b53560eea9f10a1271d3bdf765dc6f969c7d9d5 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35350#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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018ec850555b-ac893312-3c16-40c7-b93d-caf5fb1b8b84-000000%40eu-central-1.amazonses.com.