Closed Bug 813169 Opened 12 years ago Closed 12 years ago

Unable To Edit Profile When Language Is Set To DE

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bensternthal, Assigned: giorgos)

Details

If I edit my profile in german, i get a 404. English french and spanish are ok. To replicate login and navigate to: Error https://mozillians.org/de/user/edit Works OK https://mozillians.org/es/user/edit#services https://mozillians.org/fr/user/edit#services
Reproducible on dev and stage [mozillians-stage] ERROR (EXTERNAL IP): Internal Server Error: /de/user/edit Traceback (most recent call last): File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/views/decorators/cache.py", line 89, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/contrib/auth/decorators.py", line 20, in _wrapped_view return view_func(request, *args, **kwargs) File "/data/www/mozillians.allizom.org/mozillians/apps/phonebook/views.py", line 114, in edit_profile return render(request, 'phonebook/edit_profile.html', d, status=status) File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/shortcuts/__init__.py", line 44, in render return HttpResponse(loader.render_to_string(*args, **kwargs), File "/data/www/mozillians.allizom.org/mozillians/vendor/src/django/django/template/loader.py", line 176, in render_to_string return t.render(context_instance) File "/data/www/mozillians.allizom.org/mozillians/vendor/src/jingo/jingo/__init__.py", line 189, in render return super(Template, self).render(context_dict) File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "/data/www/mozillians.allizom.org/mozillians/apps/phonebook/templates/phonebook/edit_profile.html", line 1, in top-level template code {% extends "base.html" %} File "/data/www/mozillians.allizom.org/mozillians/templates/base.html", line 119, in top-level template code {% block main_content %}{% endblock %} File "/data/www/mozillians.allizom.org/mozillians/apps/phonebook/templates/phonebook/edit_profile.html", line 152, in block "main_content" {% trans persona='https://persona.org/' %} File "/usr/lib64/python2.6/site-packages/jinja2/_markupsafe/__init__.py", line 98, in __mod__ return self.__class__(unicode.__mod__(self, arg)) File "/usr/lib64/python2.6/site-packages/jinja2/_markupsafe/__init__.py", line 212, in <lambda> __getitem__ = lambda s, x: _MarkupEscapeHelper(s.obj[x]) KeyError: u'browserid'
OS: Mac OS X → All
Hardware: x86 → All
Milos fixed the problem with the translation. Waiting on updates.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
I updated stage and prod. Dev should have updated auto-magically.
Thanks Milos and Ben -- verified on dev, stage, and prod -- HTTP 200s OK -- [15:25:25.990] GET https://mozillians-dev.allizom.org/de/user/edit [HTTP/1.1 200 OK 276ms] [15:24:10.488] GET https://mozillians.allizom.org/de/user/edit [HTTP/1.1 200 OK 238ms] [15:22:57.940] GET https://mozillians.org/de/user/edit [HTTP/1.1 200 OK 226ms]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.