#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
-------------------------------------+-------------------------------------

Comment (by Claude Paroz <claude@…>):

 In [changeset:"b825ec38c1e16a271c69694562963eadbe0c6352"]:
 {{{
 #!CommitTicketReference repository=""
 revision="b825ec38c1e16a271c69694562963eadbe0c6352"
 [1.8.x] 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.
 Backport of 5cf96b49e4 from master.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24418#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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.babd305d22fd95adf7e3ae9323338c00%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to