﻿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
28172	Prevent nonexistent template filter arguments from raising VariableDoesNotExist	Vlastimil Zíma		"I'd like to fix the error reported in #13167. The main bug

{{{
#!python
from django.template import Context, Template
Template('{{ foo|default:notreal }}').render(Context({'foo': ''}))
}}}

still raises `VariableDoesNotExist` exception, which is completely unexpected from templates, as noted in closing comment ticket:13167#comment:20. I took me more than an hour before I found out how did it make the server error I investigated.

I know the original ticket was closed as wontfix, but I understood it was due to the effect the proposed change would have on `if` tag. But there's another way - capture the exception in `VariableNode` the similar way `UnicodeDecodeError` is silenced. If I understood the code correctly, that would solve the problem for all template filters, but left template tags intact."	Bug	new	Template system	dev	Normal				Someday/Maybe	0	0	0	0	0	0
