Opened 11 years ago

Closed 11 years ago

#4178 closed (duplicate)

ImageField error when edited inline

Reported by: esauro@… Owned by: Adrian Holovaty
Component: contrib.admin Version: master
Severity: Keywords: ImageField, Admin interface
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When I try to use ImageField edited in line from Admin Interface I get this:

Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/core/handlers/" in get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/" in _checklogin
  55. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/views/decorators/" in _wrapped_view_func
  39. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/" in change_stage
  329. new_object =
File "/usr/lib/python2.5/site-packages/django/db/models/" in save
  165. if rel_new_data[][0]:

  IndexError at /admin/micasa/casa/1/
  string index out of range

However when I don't use edit_inline the image is properly uploaded and stored. I think it's a BUG.

Change History (1)

comment:1 Changed 11 years ago by James Bennett

Resolution: duplicate
Status: newclosed

Duplicate of #3519.

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