Actions
Bug #84520
closedstdWrap.ifBlank introduced different behavior
Start date:
2018-03-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
The patch for issue #84434 introduced a different behavior for the stdWrap.ifBlank
feature.
The current implementation now ignores whitespace characters (tab, spaces, new lines, carriage return) which was not the case in previous TYPO3 versions - as a comparison:
- TYPO3 v7: trim($content) === ''
- TYPO3 v6.2: !strlen(trim($content))
- TYPO3 v.4.5: !strlen(trim($content))
- TYPO3 v4.3: !strlen(trim($content)
Updated by Gerrit Code Review over 6 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/56421
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56422
Updated by Oliver Hader over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 18aaf1b52580229977e20be8d8c9b0f4ee6f2c74.
Actions