retag option throws an exception
Using askbot 0.7.47 installed from pip.
Whenever someone tries to retag a question, a "Sorry, something is not right here" overlay appears and I can notice this traceback on the server :
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py TIME: 2013-01-31 16:57:53,083 MSG: base.py:handle_uncaught_exception:215 Internal Server Error: /questions/64/retag/
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/askbot/views/writers.py", line 326, in retag_question
if request.user.message_set.count() > 0:
AttributeError: 'RelatedObjectSimulator' object has no attribute 'count'
Is this a known problem ? If true, is there a way to solve it ?
Comments