Project

General

Profile

Actions

Bug #103609

closed

TSconfig setting options.folderTree.altElementBrowserMountPoints leads to Exception

Added by Markus Hackel 8 months ago. Updated 5 months ago.

Status:
Closed
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 #1

Updated by Gerrit Code Review 7 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83841

Actions #2

Updated by Oliver Bartsch 7 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Gerrit Code Review 7 months ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83925

Actions #4

Updated by Oliver Bartsch 7 months ago

  • Status changed from Under Review to Resolved
Actions #5

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF