Actions
Bug #99013
closedprevent passing null to mb_strtolower in f:format.case VH
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2022-11-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Pass a null value to the f:format.case VH, e.g.
{nullVariable -> f:format.case(mode: 'lower')}
triggers
PHP Runtime Deprecation Notice: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/web/typo3/sysext/fluid/Classes/ViewHelpers/Format/CaseViewHelper.php line 142
(which throws an Exception if
$GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] = 32767;
is set)
(only for TYPO3 v11 + PHP 8.1)
Updated by Gerrit Code Review about 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76453
Updated by Gerrit Code Review about 2 years ago
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76453
Updated by Anonymous about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fb60c52640c1447578eecd514b8651adc84d5976.
Actions