#13674: Javascript for adding inline fields doesn't update "for" attribute in 
label
------------------------------------------------+---------------------------
               Reporter:  Jonas                 |         Owner:  rctay
                 Status:  new                   |     Milestone:  1.3  
              Component:  django.contrib.admin  |       Version:  1.2  
             Resolution:                        |      Keywords:  admin
           Triage Stage:  Accepted              |     Has patch:  1    
    Needs documentation:  0                     |   Needs tests:  0    
Patch needs improvement:  1                     |  
------------------------------------------------+---------------------------
Changes (by russellm):

  * needs_better_patch:  0 => 1
  * stage:  Ready for checkin => Accepted


Comment:

 Patch applies and fixes the bug, but introduces a different bug -newly
 created inlines don't validate.

 To reproduce:
  * Use a parent model with a TabularInline child, with extra=3
  * apply patch 0001
  * Add a new parent object
  * Add 1 extra inline row
  * Populate all 4 inline objects (the 3 default provided, plus the 1 added
 inline).
  * Try to save the object

 The object will fail validation, and lose the data for the fourth inline.
 If you re-enter and save, the data is saved successfully.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13674#comment:7>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to