Closed Bug 692592 Opened 13 years ago Closed 13 years ago

Affiliates: 500 error 'AnonymousUser' object has no attribute 'pk

Categories

(Firefox Affiliates Graveyard :: affiliates.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cmore, Assigned: osmose)

References

()

Details

(Whiteboard: [dev])

Traceback (most recent call last): File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/affiliates-dev.allizom.org/affiliates-app/apps/banners/views.py", line 26, in customize affiliate_link = AFFILIATE_LINK % (request.user.pk, banner.pk) AttributeError: 'AnonymousUser' object has no attribute 'pk'
Assignee: nobody → mkelly
Whiteboard: [dev]
Target Milestone: --- → 1.0
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified FIXED: [13:52:20.196] GET https://affiliates-dev.allizom.org/pl/banners/customize/1 [HTTP/1.1 200 OK 501ms]
Status: RESOLVED → VERIFIED
Hardware: x86 → All
Product: Websites → Firefox Affiliates
Product: Firefox Affiliates → Firefox Affiliates Graveyard
You need to log in before you can comment on or make changes to this bug.