Closed Bug 713669 Opened 14 years ago Closed 14 years ago

[traceback] [dev] [prod] KeyError: 'fy'

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

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'
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee: nobody → mkelly
Whiteboard: [dev]
Target Milestone: --- → 1.1
[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
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.