Bug #6779

{} parsed inconsistently?

Added by Michael Sauter over 5 years ago. Updated about 4 years ago.

Status:Closed Start date:2010-03-10
Priority:Could have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
Has patch: Affected Flow version:

Description

If the variable inside {} in Fluid is not found, Fluid displays nothing, so e.g.
{foo}
outputs nothing if foo does not exist.
If you have the following in your template (space inbetween brackets):
{ }
the output is nothing as well, but
{}
results in two brackets.
And this:
{ foo }
will output:
{ foo }

For example, this causes a problem in the kickstarter package: The syntax of the generated repository file is invalid, because the repository class does not contain anything between the opening and closing brackets ... which means these are not written at all.

History

#1 Updated by Sebastian Kurfuerst about 5 years ago

  • Priority changed from Should have to Could have

#2 Updated by Sebastian Kurfuerst about 4 years ago

  • Status changed from New to Closed

thanks for noting, should be fixed by now.

Also available in: Atom PDF