Closed
Bug 713669
Opened 14 years ago
Closed 14 years ago
[traceback] [dev] [prod] KeyError: 'fy'
Categories
(Firefox Affiliates Graveyard :: affiliates.mozilla.org, defect)
Firefox Affiliates Graveyard
affiliates.mozilla.org
Tracking
(Not tracked)
VERIFIED
FIXED
1.1
People
(Reporter: mbrandt, Assigned: osmose)
References
()
Details
(Whiteboard: [dev])
Steps to reproduce:
1. on dev or prod goto /fy/
Actual:
Both dev and prod return a 500 error.
[09:28:19.457] GET https://affiliates-dev.allizom.org/fy/ [HTTP/1.1 500 INTERNAL SERVER ERROR 2238ms]
Suggested:
Stage redirects /fy/ to /fy-NL/
ISE:
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/vendor/src/django-session-csrf/session_csrf/__init__.py", line 107, in wrapper
response = f(request, *args, **kw)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/apps/shared/views.py", line 46, in home
return render(request, 'shared/home/normal.html', params)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/shortcuts/__init__.py", line 40, in render
context_instance = RequestContext(request, current_app=current_app)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/template/context.py", line 177, in __init__
self.update(processor(request))
File "/data/www/affiliates-dev.allizom.org/affiliates-app/apps/shared/context_processors.py", line 9, in l10n
return {'LOCALE': locale, 'LANGUAGE': settings.LANGUAGES[locale]}
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/utils/functional.py", line 196, in __wrapper__
return self.__dispatch[t][funcname](res, *args, **kw)
KeyError: 'fy'
| Assignee | ||
Comment 1•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → mkelly
Whiteboard: [dev]
Target Milestone: --- → 1.1
Comment 2•14 years ago
|
||
[10:06:32.318] GET https://affiliates-dev.allizom.org/fy/ [HTTP/1.1 200 OK 167ms]
[10:07:57.545] GET https://affiliates.mozilla.org/fy-NL/ [HTTP/1.1 200 OK 181ms]
Verified FIXED.
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Product: Websites → Firefox Affiliates
Updated•10 years ago
|
Product: Firefox Affiliates → Firefox Affiliates Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•