Project

General

Profile

Actions

Bug #90908

closed

Zeros are not treated as empty values in `.ifEmpty`

Added by Sascha Egerer about 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2020-03-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Remote Sprint

Description

In TYPO3 9.5.15 the functionality of stdWrap ifEmpty has been changed. 137b381561cfd51edddf9b398427dbce35086dba
Before this change a value of `0` was evaluated to false but now it is true.

IMO this change should be reverted as it is a breaking change.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #90318: stdWrap.ifEmpty not called anymore on potentially empty stringsClosed2020-02-04

Actions
Related to TYPO3 Core - Bug #86969: stdWrap ifEmpty/ifNull/ifBlank are evaluated even if content is thereClosed2018-11-21

Actions
Actions

Also available in: Atom PDF