Closed
Bug 913412
Opened 12 years ago
Closed 12 years ago
SL locale broken in /user/edit page.
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
2013-09-12
People
(Reporter: giorgos, Assigned: giorgos)
Details
(Whiteboard: [traceback][kb=1107001] )
There is an incomplete translation for the /sl/user/edit page which brakes the template parsing.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → giorgos
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [kb=1107001]
| Assignee | ||
Comment 1•12 years ago
|
||
Fixed in r119676
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 2•12 years ago
|
||
QA verification steps:
- Visit /sl/user/edit/
Note this will be fixed in stage when we push a new revision of mozillians code.
| Assignee | ||
Updated•12 years ago
|
Whiteboard: [kb=1107001] → [traceback][kb=1107001]
| Assignee | ||
Comment 3•12 years ago
|
||
Traceback for reference:
Traceback (most recent call last):
File "/data/www/mozillians.org/mozillians/vendor/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib64/python2.6/site-packages/newrelic-1.10.2.38/newrelic/api/object_wrapper.py", line 220, in __call__
self._nr_instance, args, kwargs)
File "/usr/lib64/python2.6/site-packages/newrelic-1.10.2.38/newrelic/hooks/framework_django.py", line 475, in wrapper
return wrapped(*args, **kwargs)
File "/data/www/mozillians.org/mozillians/vendor/lib/python/django/views/decorators/cache.py", line 89, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/data/www/mozillians.org/mozillians/mozillians/phonebook/views.py", line 149, in edit_profile
return render(request, 'phonebook/edit_profile.html', data, status=status)
File "/data/www/mozillians.org/mozillians/vendor/lib/python/django/shortcuts/__init__.py", line 44, in render
return HttpResponse(loader.render_to_string(*args, **kwargs),
File "/data/www/mozillians.org/mozillians/vendor/lib/python/django/template/loader.py", line 176, in render_to_string
return t.render(context_instance)
File "/data/www/mozillians.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/newrelic-1.10.2.38/newrelic/api/object_wrapper.py", line 220, in __call__
self._nr_instance, args, kwargs)
File "/usr/lib64/python2.6/site-packages/newrelic-1.10.2.38/newrelic/api/function_trace.py", line 82, in dynamic_wrapper
return wrapped(*args, **kwargs)
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.org/mozillians/mozillians/phonebook/templates/phonebook/edit_profile.html", line 21, in top-level template code
{{ bootstrap(field_with_attrs(field, **{'label': (field.label + '<span> *</span>')|safe })) }}
File "/data/www/mozillians.org/mozillians/templates/base.html", line 154, in top-level template code
{% block content_wrapper %}
File "/data/www/mozillians.org/mozillians/templates/base.html", line 157, in block "content_wrapper"
{% block content %}{% endblock %}
File "/data/www/mozillians.org/mozillians/mozillians/phonebook/templates/phonebook/edit_profile.html", line 244, in block "content"
{% trans api_schema_url='https://wiki.mozilla.org/Mozillians/API-Specification[1]',
File "/usr/lib64/python2.6/site-packages/jinja2/_markupsafe/__init__.py", line 98, in __mod__
return self.__class__(unicode.__mod__(self, arg))
ValueError: incomplete format key
| Assignee | ||
Comment 4•12 years ago
|
||
Tested on stage and works!
https://mozillians.allizom.org/sl/user/edit/
Status: RESOLVED → VERIFIED
Target Milestone: --- → next
Comment 5•12 years ago
|
||
woot!
Updated•12 years ago
|
Target Milestone: next → 2013-09-12
You need to log in
before you can comment on or make changes to this bug.
Description
•