#12749: "Please correct the error below." when saving add model form with inline
formset and no auto primary key.
------------------------------------+---------------------------------------
 Reporter:  [email protected]  |       Owner:  nobody    
   Status:  new                     |   Milestone:            
Component:  django.contrib.admin    |     Version:  SVN       
 Keywords:                          |       Stage:  Unreviewed
Has_patch:  1                       |  
------------------------------------+---------------------------------------
 When a Model has a field with primary_key=True and the Admin has an Inline
 ManyToMany, trying to save will result in "Please correct the error
 below." with no errors shown.

 This has been introduced in [12206].
 Just the changes in django/contrib/admin/options.py to be precise.
 I expected reverting the patch would result in failing tests. But no tests
 failed.
 So either [12206] contained noise code that was doing nothing or it needed
 better tests.

 I've written a test for my usecase that was broken by [12206] and I
 suggest that someone that knows the purpose
 of [http://code.djangoproject.com/changeset/12206#file0 the options.py
 part of 12206] expresses that purpose in a test.

 I'll add both my test and a patch containing part of the faulty changeset,
 but triagers, this ticket might need a better patch.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12749>
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