Project

General

Profile

Actions

Bug #99915

closed

Listing files in "form_definitions" folder fails due to null value

Added by Andreas Kienast almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-02-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Listing contents of the folder "form_definitions" in FileList is influenced by ProcessFileListActionsEventListener to deny certain actions by setting their value to null. However, since #99861 the filelist is not prepared for this anymore, leading to several PHP warnings.

Example:

PHP Runtime Deprecation Notice: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/typo3_src/typo3/sysext/filelist/Classes/FileList.php line 870


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #99861: Add tile view to element browserClosed2023-02-07

Actions
Actions #1

Updated by Andreas Kienast almost 2 years ago

Actions #2

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77821

Actions #3

Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77821

Actions #4

Updated by Andreas Fernandez almost 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF