Bug #6779

{} parsed inconsistently?

Added by Michael Sauter almost 12 years ago. Updated over 10 years ago.

Could have
Target version:
Start date:
Due date:
% Done:


Estimated time:
Has patch:


If the variable inside {} in Fluid is not found, Fluid displays nothing, so e.g.
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.


Updated by Sebastian Kurfuerst over 11 years ago

  • Priority changed from Should have to Could have

Updated by Sebastian Kurfuerst over 10 years ago

  • Status changed from New to Closed

thanks for noting, should be fixed by now.

Also available in: Atom PDF