google-code-export / django-photologue

Automatically exported from code.google.com/p/django-photologue
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

RuntimeError at /admin/photologue/photoeffect/4/delete/: maximum recursion depth exceeded #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Choosing the 'X Delete' option from a 'Change Photo effect' admin page.
 This does not depend on the effect being associated with a Photo or
PhotoSize instance or not.

What is the expected output? What do you see instead?
I expect the Photo effect to be removed and disassociated from any Photo or
PhotoSize instances.  Instead, a 500 error is thrown, and with DEBUG =
True, I see the summary title error displayed.

What version of the product are you using? On what operating system?
>>> photologue.VERSION
(2, 1)
on Ubuntu 8.10.

Please provide any additional information below.
The error points to line 589 in /photologue/models.py:

super(PhotoEffect, self).delete()

The Django 500 page with DEBUG=True spat out about 1000 references to line
589.  Hmm, maximum recursion depth, indeed.

Original issue reported on code.google.com by a.c.jo...@gmail.com on 7 Dec 2008 at 1:44

GoogleCodeExporter commented 9 years ago
This is fixed in r355. Thanks!

Original comment by justin.d...@gmail.com on 23 Dec 2008 at 1:37