Opened 11 years ago

Closed 11 years ago

#5969 closed (fixed)

Variable name resolution broken as of 6682?

Reported by: Jarek Zgoda Owned by: nobody
Component: Template system Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The code that worked fine before [6682] now throws KeyError:

{% blocktrans count comment_count as counter %}1 comment{% plural %}{{ counter }} comments{% endblocktrans %}
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/template/" in render_node
  822. result = node.render(context)
File "/usr/lib/python2.5/site-packages/django/templatetags/" in render
  84. return result % data

  KeyError at /

Change History (1)

comment:1 Changed 11 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [6689]) Fixed #5969 -- Corrected a problem introduced in [6682].

*sigh* As usual, the one case I forget to test turned out to be broken.

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