#25431: ModelFormset regression in object clean() accessing a FK
-------------------------------------+-------------------------------------
     Reporter:  claudep              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Forms                |                  Version:  1.8
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  regression           |             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:"158b0a28374054b1c3f94a9602b69f93fc980448" 158b0a28]:
 {{{
 #!CommitTicketReference repository=""
 revision="158b0a28374054b1c3f94a9602b69f93fc980448"
 [1.8.x] Fixed #25431 -- Readded inline foreign keys to modelformset
 instances

 Too much field exclusions in form's construct_instance() in _post_clean()
 could lead to some unexpected missing ForeignKey values.
 Fixes a regression from 45e049937. Refs #13776.

 Backport of 65a1055a3 from master.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25431#comment:6>
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/065.b14929e0ba175e41ff2299b89c9f72f1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to