Project

General

Profile

Actions

Bug #84520

closed

stdWrap.ifBlank introduced different behavior

Added by Oliver Hader over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
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)
Actions #1

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

Actions #2

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

Actions #3

Updated by Oliver Hader over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF