Issue Bug Closed

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

Andreas Kienast 02/10/23, 10:07 updated 03/14/23, 11:47

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

Reviews 1