Actions
Bug #98595
closedBackendUtility::getProcessedValue PHP Runtime Deprecation Notice for flex fields with NULL pi_flexform value in PHP 8.1
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2022-10-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
$value
is nullable, as pi_flexform
is defined as pi_flexform mediumtext,
- and thus nullable - in EXT:frontend
The offending code section in TYPO3 11.5.17 at /public/typo3/sysext/backend/Classes/Utility/BackendUtility.php:1726
:
case 'flex': $l = strip_tags($value); break;
Solution: Coerce $value
to string
.
Updated by Stefan Bürk about 2 years ago
- Related to Bug #97297: PHP 8.1 deprecation error in clipboard > info added
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/+/76125
Updated by Andreas Fernandez about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6ebd696227ee2e28a8102dc28a5035e0f0e25d9a.
Actions