Error in file list module when having a read-only filemount for the same path as a normal filemount
- Assign a normal filemount, e.g. for 1:/test (Folder test in storage 1) to a user
- Set a read-only filemount for the root path of storage 1:
options.folderTree.altElementBrowserMountPoints = 1:/
This is the case in an environment where editors only can manipulate certain folders (e.g. of their departments), but should be able to read/use all file of the website.
Now, after switching to a non-admin user that has both filemounts assigned, a click to "test" in the File List module leads to an "endless" call that is terminated at max_execution_time.
Updated by Lorenz Ulrich about 5 years ago
The exact change causing it is:
$rootId = $this->storage->getRootLevelFolder(FALSE)->getIdentifier();
$rootId = $this->storage->getRootLevelFolder()->getIdentifier();
$respectFileMounts flag in ResourceStorage::getRootLevelFolder set to TRUE