Bug #6779

{} parsed inconsistently?

Added by Michael Sauter over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-03-10
Due date:
% Done:

0%

Has patch:

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 over 9 years ago

  • Priority changed from Should have to Could have

#2 Updated by Sebastian Kurfuerst over 8 years ago

  • Status changed from New to Closed

thanks for noting, should be fixed by now.

Also available in: Atom PDF