Project

General

Profile

Bug #82547

Updated by Romain Canon over 6 years ago

When getting an icon with the overlay parameter containing an empty string, the API considers the parameter is filled and returns the "not found icon". 

 The best example is this Fluid snippet: 

 <pre><code class="xml"> 
 <core:icon identifier="tx-my-icon" 
            overlay="{f:if(condition: myCondition, then: 'my-overlay-icon')}" 'overlay-missing')}" /> 
 </code></pre> 

 When the condition <code>myCondition</code> is false, the "not found icon" is added as an overlay, but no overlay should be added at all.

Back