Closed Bug 1167008 Opened 10 years ago Closed 9 years ago

[traceback] TemplateDoesNotExist: motidings/unsubscribe_error.html

Categories

(support.mozilla.org :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mythmon, Assigned: willkg)

Details

(Whiteboard: u=user p=1 s=2015.11)

It looks like we need to copy another template from tidings. motidings is something we made for the 1.7 upgrade, iirc. Errormill: https://errormill.mozilla.org/support/support/group/397087/ TemplateDoesNotExist: motidings/unsubscribe_error.html Stacktrace (most recent call last): File "django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "newrelic/hooks/framework_django.py", line 497, in wrapper return wrapped(*args, **kwargs) File "kitsune/motidings/views.py", line 30, in unsubscribe return render(request, 'motidings/unsubscribe_error.html') File "django/shortcuts.py", line 50, in render return HttpResponse(loader.render_to_string(*args, **kwargs), File "django/template/loader.py", line 170, in render_to_string t = get_template(template_name, dirs) File "django/template/loader.py", line 144, in get_template template, origin = find_template(template_name, dirs) File "django/template/loader.py", line 136, in find_template raise TemplateDoesNotExist(name)
It should be pretty easy to create a new template.
Whiteboard: u=user p=? s= → u=user p=1 s=
This is causing site errors for users when they try to unsubscribe. That makes it a P1. Putting it in the next sprint.
Priority: -- → P1
Whiteboard: u=user p=1 s= → u=user p=1 s=2015.11
I'll grab this.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
This is related: https://errormill.mozilla.org/support/support/group/397070/ Seems like we're missing both the unsubscribe_error.html and unsubscribe_success.html templates.
In a PR: https://github.com/mozilla/kitsune/pull/2570 I also added tests for all the various situations in that view figuring it's nice to have tests.
Pushed to prod by me, right now.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.