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

History 35

  1. Gerrit Code Review pushed patch set 1 for main to change 83841 status New Under Review 04/17/24, 08:38

  2. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % 04/19/24, 05:45

    Applied in changeset commit:2dd7cc8419ca113529145e39c00bcb161a4e079e.

  3. Gerrit Code Review pushed patch set 1 for 12.4 to change 83925 status Resolved Under Review 04/19/24, 05:54

  4. Oliver Bartsch commented and changed status Under Review Resolved 04/19/24, 06:10

    Applied in changeset commit:1727154633b818e544adeff5717f3c60f17b75a2.

  5. Benni Mack changed status Resolved Closed 07/09/24, 15:37