Issue Bug Closed

#83305Fluid: Endless loop upon compilation of broken if-condition

Stefan Neufeind 12/13/17, 08:33 updated 03/06/20, 22:30

Description

Reproducible on 8.7.9 and 9.0.0. Example-code:

page.10 = FLUIDTEMPLATE
page.10.template = TEXT
page.10.template.value (
<f:alias map="{options: {0:{title: '057', present: 'yes'}, 1:{title: '058', present: 'no'}}}"><br> <table class="configuration"><br> <f:for each="{options}" as="option"><br> <tr><br><td>{option.title}</td><br><td><f:if condition="{option.present} == 'yes"><f:then>Installed</f:then><f:else>Not installed</f:else></f:if></td><br></tr><br> </f:for><br> </table><br> </f:alias>
)

Note that behind “yes” for the option.present-condition there is a hyphen missing. If you add that all is fine. Without it Fluid will run until stopped by max_execution_time.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.