Issue508

Title 'NoneType' object has no attribute 'user_has_selected_nickname'
Priority bug Status unread
Superseder Nosy List petri.lehtinen
Assigned To Topics

Created on 2013-02-23.19:58:43 by petri.lehtinen, last changed 2013-02-23.19:58:43 by petri.lehtinen.

Messages
msg2703 (view) Author: petri.lehtinen Date: 2013-02-23.19:58:42
After reviewing and commenting, I clicked the "publish + mail comments", and got a Django error page:

AttributeError at /review/17267/publish
'NoneType' object has no attribute 'user_has_selected_nickname'

...

Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in get_response
  95.                     response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/home/roundup/trackers/tracker/rietveld/rietveld_helper/middleware.py" in process_view
  37.         response = view_func(request, *view_args, **view_kwargs)
File "/home/roundup/trackers/tracker/rietveld/codereview/views.py" in login_wrapper
  657.     return func(request, *args, **kwds)
File "/home/roundup/trackers/tracker/rietveld/codereview/views.py" in issue_wrapper
  741.     return func(request, *args, **kwds)
File "/home/roundup/trackers/tracker/rietveld/codereview/views.py" in xsrf_wrapper
  694.     return func(request, *args, **kwds)
File "/home/roundup/trackers/tracker/rietveld/codereview/views.py" in publish
  3013.                                              'draft_message': draft_message,
File "/home/roundup/trackers/tracker/rietveld/codereview/views.py" in respond
  502.     must_choose_nickname = not account.user_has_selected_nickname()

Exception Type: AttributeError at /review/17267/publish
Exception Value: 'NoneType' object has no attribute 'user_has_selected_nickname'


When going back and clicking it again, it worked ok.
History
Date User Action Args
2013-02-23 19:58:43petri.lehtinencreate