Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#1075 closed defect (fixed)

Bug in admin with edit_inline

Reported by: Eric Moritz Owned by: Adrian Holovaty
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: no UI/UX: no

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 19 years ago.
patch had the wrong path
edit_inline_bug_fix.diff (930 bytes ) - added by Eric Moritz 19 years ago.
patch had the wrong path

Download all attachments as: .zip

Change History (4)

by Eric Moritz, 19 years ago

Attachment: edit_inline_bug.diff added

patch had the wrong path

by Eric Moritz, 19 years ago

Attachment: edit_inline_bug_fix.diff added

patch had the wrong path

comment:1 by Eric Moritz, 19 years ago

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

comment:2 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

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

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