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 10552,"Built-in template fails ""lowdly"" with exception",Evgeniy Ivanov,nobody,"length_is filter causes an exception if it's used with None intead of something that has len() method. According to docs this should never happen (tags and filters fails silently). {{{ Exception Value: Caught an exception while rendering: object of type 'NoneType' has no len() Original Traceback (most recent call last): File ""/usr/local/lib/python2.5/site-packages/django/template/debug.py"", line 71, in render_node result = node.render(context) File ""/usr/local/lib/python2.5/site-packages/django/template/defaulttags.py"", line 250, in render value = bool_expr.resolve(context, True) File ""/usr/local/lib/python2.5/site-packages/django/template/__init__.py"", line 559, in resolve new_obj = func(obj, *arg_vals) File ""/usr/local/lib/python2.5/site-packages/django/template/defaultfilters.py"", line 523, in length_is return len(value) == int(arg) TypeError: object of type 'NoneType' has no len() }}} ",,closed,Template system,dev,,duplicate,,,Accepted,0,0,0,0,0,0