#35422: Migration crash when renaming a field referenced in GeneratedField.expression -------------------------------------+------------------------------------- Reporter: Sarah Boyce | Owner: Mariusz | Felisiak Type: Bug | Status: closed Component: Migrations | Version: 5.0 Severity: Release blocker | Resolution: fixed Keywords: | 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:"c544f1a2237fd18a1e00fef8cbcd1cf7eccd5eb9" c544f1a]: {{{#!CommitTicketReference repository="" revision="c544f1a2237fd18a1e00fef8cbcd1cf7eccd5eb9" [5.0.x] Fixed #35422 -- Fixed migrations crash when altering GeneratedField referencing rename field. Thanks Sarah Boyce for the report and Simon Charette for the implementation idea. Backport of 91a4b9a8ec2237434f06866f39c7977e889aeae6 from main. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35422#comment:9> 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/0107018f3d5fd2a7-b3671ed6-b8bd-4bf6-b769-423df4120c0f-000000%40eu-central-1.amazonses.com.