﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5874	Template variables inside filters are not parsed correctly	Thejaswi Puthraya	nobody	"Whenever a variable is used in a filter's (have checked for slice only...might be applicable for other filters also) arguments it is wrongly parsed and we get a TemplateSyntaxError which says ""slice requires 1 arguments, 0 provided"".
From the traceback here is what I received on the output:
The token being
{{{
u'some_item.var2|slice:"":{{ forloop.counter0'
}}}
Notice the missing ""}}""

Here is the test code:
{{{
{% for some_item in many_items %}
  {{ some_item.var1 }} {{ some_item.var2|slice:"":{{ forloop.counter0 }}"" }}
{% endfor %}
}}}"		closed	Template system	dev		invalid			Unreviewed	0	0	0	0	0	0
