Opened 18 years ago

Closed 18 years ago

#4178 closed (duplicate)

ImageField error when edited inline

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

Description

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/base.py" in get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/decorators.py" in _checklogin
  55. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  39. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/main.py" in change_stage
  329. new_object = manipulator.save(new_data)
File "/usr/lib/python2.5/site-packages/django/db/models/manipulators.py" in save
  165. if rel_new_data[related.opts.pk.name][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 by James Bennett, 18 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #3519.

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