Bug #82547
closedIcon overlay accepts empty string as identifier
100%
Description
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:
<core:icon identifier="tx-my-icon"
overlay="{f:if(condition: myCondition, then: 'my-overlay-icon')}" />
When the condition myCondition
is false, the "not found icon" is added as an overlay, but no overlay should be added at all.
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54212
Updated by Gerrit Code Review about 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54212
Updated by Gerrit Code Review about 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54212
Updated by Romain Canon about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a8cf2451a4026968ae4b4157d79e633320ffc2f8.