#24418: refresh_from_db is breaking on null foreign keys
-------------------------------------+-------------------------------------
Reporter: ppp23 | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.8alpha1
(models, ORM) |
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
-------------------------------------+-------------------------------------
Changes (by Claude Paroz <claude@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"5cf96b49e43daea6d4a0ba1c80c45e90c74f4e47"]:
{{{
#!CommitTicketReference repository=""
revision="5cf96b49e43daea6d4a0ba1c80c45e90c74f4e47"
Fixed #24418 -- Prevented crash in refresh_from_db with null fk
Thanks Johannes Lerch for the report, Tim Graham for the test case,
and Simon Charette for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24418#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.c032cf87d284166c2273546da1f22002%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.