#9076: Inline forms can result in a "Please correct the errors below." message
with no errors listed.
---------------------------+------------------------------------------------
 Reporter:  coady          |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 This error can reproduced with the poll app in the tutorial with a minor
 change.  Remove the choice field from the Choice model (file attached).
 Edit a poll by adding two choices; enter any numbers in the votes fields.
 Any subsequent save will result in the "Please correct the errors below."
 message with no highlighted errors.

 The problem occurs in BaseModelFormSet._construct_form where an index
 access on the queryset is returning duplicate pks.  This in turn leads to
 validation failing in BaseModelForm.validate_unique.  The error occurs in
 1.0 and the trunk, probably introduced around the time core=True was
 removed.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9076>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to