Project

General

Profile

Actions

Bug #98595

closed

BackendUtility::getProcessedValue PHP Runtime Deprecation Notice for flex fields with NULL pi_flexform value in PHP 8.1

Added by Leonie Philine about 2 years ago. Updated almost 2 years ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #97297: PHP 8.1 deprecation error in clipboard > infoClosedAndreas Kienast2022-04-04

Actions
Actions #1

Updated by Stefan Bürk about 2 years ago

  • Related to Bug #97297: PHP 8.1 deprecation error in clipboard > info added
Actions #2

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

Actions #3

Updated by Andreas Fernandez about 2 years ago

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

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF