Bug #90908

Functionality of `.ifEmpty` has been changed

Added by Sascha Egerer 8 months ago. Updated 6 months ago.

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

0%

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

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
#1

Updated by Sascha Egerer 8 months ago

  • Related to Bug #90318: stdWrap.ifEmpty not called anymore on potentially empty strings added
#2

Updated by Sascha Egerer 8 months ago

  • Related to Bug #86969: stdWrap ifEmpty/ifNull/ifBlank are evaluated even if content is there added
#3

Updated by Gerrit Code Review 8 months 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/c/Packages/TYPO3.CMS/+/64029

#4

Updated by Gerrit Code Review 8 months 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/c/Packages/TYPO3.CMS/+/64029

#5

Updated by Gerrit Code Review 6 months 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/c/Packages/TYPO3.CMS/+/64029

Also available in: Atom PDF