Issue Bug Closed

#103609TSconfig setting options.folderTree.altElementBrowserMountPoints leads to Exception

Markus Hackel 04/11/24, 12:48 updated 07/09/24, 15:37

Description

There seems to be a bug in \TYPO3\CMS\Core\Authentication\BackendUserAuthentication::getFileMountRecords():

If additional (read-only) file mounts are configured for backend users via User TSconfig options.folderTree.altElementBrowserMountPoints , no 'identifier' key is set in the record array for these additional file mounts.

If an editor then tries to select a page in the page tree this leads to an exception due to an “Undefined array key” in \TYPO3\CMS\Core\Resource\Security\StoragePermissionsAspect::addFileMountsToStorage().

Reviews 2