Opened 13 years ago

Closed 13 years ago

#16181 closed Bug (duplicate)

Template debugger highlights the row with error incorrectly

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

Description

Imagine you have a template like

{% for item in loop %}
    {% broken_tag %}
{% endfor %}

where loop is any not empty iterable, and "broken_tag" tag raises an exception (whatever the exception is). Then template debugger will highlight the first string with the for statement instead of the "broken_tag" string as a place where the error occured.

Change History (1)

comment:1 by Zaheer, 13 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top