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 21694 Default filter cannot be used with undefined variables Mitar nobody "I wanted to assign a default value from a variable: {{{ {% with heading=heading|default:title|default:""unknown"" %} {% endwith %} }}} But if variable `title` is missing, rendering simply fails, without any exception (even in debug mode) but also without setting `heading` to `""unknown""`. From looking at the source code I understand that this happens because `default` filter is implemented using simple tags which expect that all filter arguments are defined, but it is unexpected behavior in this particular case." Bug closed Template system 1.4 Normal wontfix mmitar@… Unreviewed 0 0 0 0 0 0