Project

General

Profile

Actions

Bug #103609

closed

TSconfig setting options.folderTree.altElementBrowserMountPoints leads to Exception

Added by Markus Hackel about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-04-11
Due date:
% Done:

100%

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

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().

Actions

Also available in: Atom PDF