[BUGFIX] Filter empty filelist actions after dispatching ProcessFileListActionsEvent
When listing the contents of the folder "form_definitions",
`ProcessFileListActionsEventListener` modifies the available actions in
that directory by setting any disallowed action to `null`. With #99861,
a necessary null check was removed, leading to PHP warnings.
To solve the issue, `ProcessFileListActionsEventListener` now unsets
disallowed actions. Additionally, the `array_filter()` call to remove
empty actions is now executed after handling the
`ProcessFileListActionsEvent` event.
Resolves: #99915
Related: #99861
Releases: main
Change-Id: Ia04ac7f3d6db3eb986e6eaad3e3d41f8a6d54bec
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77821
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Thomas Hohn
Tested-by: Benjamin Kott <benjamin.kott@outlook.com>
[BUGFIX] Filter empty filelist actions after dispatching ProcessFileL… · TYPO3/typo3@276b205
…istActionsEvent When listing the contents of the folder "form_definitions", `ProcessFileListActionsEventListener` modifies the available actions in that directory by setting any disallo...GitHub
[FEATURE] Add tile view to element browser
The file list is the default implementation for TYPO3 to navigate and
manage assets. This patch extends the usage of the file list to the
element browser, the build-in component to select the assets for file
fields and folder fields in the backend.
The rendering of files and folder now deliver a unified experience and
allow the user to use the tile view to select assets.
The search within the file browser now respects the selected folder and
searches all subfolders for the provided search term.
To have a even more reliable experience, the user will now always start
the selection process in the root folder of the default storage.
Resource tiles are now adapting to the surrounding container instead of
the viewport, to make better use of the available space.
The file list now holds all related code to the file- and folderbrowser.
Resolves: #99861
Releases: main
Change-Id: I76e9412f552406326777d01c64c6da4a5d44c330
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77592
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
[FEATURE] Add tile view to element browser · TYPO3/typo3@19be437
The file list is the default implementation for TYPO3 to navigate and manage assets. This patch extends the usage of the file list to the element browser, the build-in component to select the asset...GitHub