Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#14589 closed (fixed)

Changeset 14395 introduced two bugs

Reported by: Adam Mckerlie <adammckerlie@…> Owned by: nobody
Component: Template system Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Traceback (most recent call last):

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 281, in run

self.result = application(self.environ, self.start_response)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/contrib/staticfiles/handlers.py", line 57, in call

return self.application(environ, start_response)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/contrib/staticfiles/handlers.py", line 57, in call

return self.application(environ, start_response)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 262, in call

response = self.get_response(request)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/core/handlers/base.py", line 137, in get_response

return debug.technical_404_response(request, e)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/views/debug.py", line 276, in technical_404_response

return empty_urlconf(request)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/views/debug.py", line 295, in empty_urlconf

return HttpResponse(t.render(c), mimetype='text/html')

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/template/init.py", line 173, in render

return self._render(context)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/template/init.py", line 167, in _render

return self.nodelist.render(context)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/template/init.py", line 796, in render

bits.append(self.render_node(node, context))

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/template/debug.py", line 73, in render_node

result = node.render(context)

File "/Users/adamm/Sites/virtualenvs/django-maintenance-mode/lib/python2.6/site-packages/django/template/debug.py", line 91, in render

output = localize(value, use_l10n=use_l10n)

TemplateSyntaxError: Caught NameError while rendering: global name 'value' is not defined

Attachments (1)

fix_changeset_14395.patch (517 bytes ) - added by Adam Mckerlie <adammckerlie@…> 14 years ago.
Patch that fixes the issues.

Download all attachments as: .zip

Change History (5)

by Adam Mckerlie <adammckerlie@…>, 14 years ago

Attachment: fix_changeset_14395.patch added

Patch that fixes the issues.

comment:1 by Adam Mckerlie <adammckerlie@…>, 14 years ago

Has patch: set

Note that this happens on a fresh install of trunk.

comment:2 by Mikhail Korobov, 14 years ago

I can confirm that tests are failing.

comment:3 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

(In [14397]) Fixed #14589 -- Corrected a copy-and-paste error introduced in r14395. Thanks to Adam McKerlie for the report.

comment:4 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top