Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1075 closed defect (fixed)

Bug in admin with edit_inline

Reported by: Eric Moritz Owned by: adrian
Component: contrib.admin Version:
Severity: blocker Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

There is a bug in models that have related objects with the edit_inline parameter set. The manipulator uses the dict "param" that is never reset with every iteration of the related objecs in the admin form. The result is that if the next field is empty, the previous field is used.

Attachments (2)

edit_inline_bug.diff (930 bytes) - added by Eric Moritz 9 years ago.
patch had the wrong path
edit_inline_bug_fix.diff (930 bytes) - added by Eric Moritz 9 years ago.
patch had the wrong path

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Eric Moritz

patch had the wrong path

Changed 9 years ago by Eric Moritz

patch had the wrong path

comment:1 Changed 9 years ago by Eric Moritz

the file needing the patch is django/core/meta/init.py

comment:2 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [1717]) Fixed #1075 -- Fixed bug in edit_inline. Thanks, Eric Moritz

Note: See TracTickets for help on using tickets.
Back to Top