Closed Bug 653020 Opened 13 years ago Closed 13 years ago

[traceback] AttributeError: 'AnonymousUser' object has no attribute 'action_inbox'

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 653012

People

(Reporter: stephend, Unassigned)

Details

http://support.mozilla.com/en-US/dashboard/forums triggers the following traceback:

Traceback (most recent call last):

  File "/data/www/support.mozilla.com/kitsune/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/support.mozilla.com/kitsune/vendor/src/django/django/views/decorators/http.py", line 37, in inner
    return func(request, *args, **kwargs)

  File "/data/www/support.mozilla.com/kitsune/apps/dashboards/views.py", line 89, in review
    {'actions': model_actions(Post, request),

  File "/data/www/support.mozilla.com/kitsune/apps/dashboards/utils.py", line 17, in model_actions
    actions = request.user.action_inbox.filter(content_type=ct)

AttributeError: 'AnonymousUser' object has no attribute 'action_inbox'
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Verified dupe -- thanks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.