tickets: 7887
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7887 | 2008-07-22 10:41:15 | 2008-07-22 11:23:35 | 2022-03-06 03:40:49.994605 | Unreviewed | closed | Template system | dev | duplicate | Allow empty constants in templates | The {{{Variable}}} class does not accept empty constants ("") in templates. The error message is: {{{ Could not find variable at start of "" }}} I traced the error to the {{{__init__}}} method of {{{FilterExpression}}}. The attached diff fixes the error. I think some of the surrounding {{{if <var>}}} statements should also be rewritten as {{{if <var> is not None}}}, but the diff is restricted to fixing this bug. | nobody | jcassee | 0 | 1 | 0 | 0 | 0 | 0 |