Actions
Bug #99915
closedListing files in "form_definitions" folder fails due to null value
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
Actions