Project

General

Profile

Actions

Bug #86018

open

FolderTreeView::getBrowseableTreeForStorage() will timeout on network file systems

Added by Dmitry Dulepov about 6 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Must have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2018-08-29
Due date:
% Done:

0%

Estimated time:
8.00 h
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
hard
Is Regression:
Sprint Focus:

Description

FolderTreeView::getBrowseableTreeForStorage() contains this code:

            // If the mount is expanded, go down:
            if ($isOpen && $storageObject->isBrowsable()) {
                // Set depth:
                $this->getFolderTree($rootLevelFolder, 999);
            }

While it could be ok to browse 999 levels on the local file system, it fails on network file systems with AWS or WebDav due to much longer time needed to fetch all those levels. If I lift php timeout restrictions, it took about 6 hours over high speed connection to fetch folder tree from the NextCloud with a single first level subfolder expanded. This is absolutely not acceptable. Folder tree fetches EVERY possible subfolder of each expanded first level folder in the tree. It fetches deep inside, even those subfolders that the user never opened. This takes huge time over network.

In general, FAL is not very usable with network storages.

Actions

Also available in: Atom PDF