Project

General

Profile

Actions

Bug #57123

closed

FAL - storage inside storage - very big performance downgrade with big data sets (20k) when opening filebrowser

Added by Krystian Szymukowicz over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Won't have this time
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2014-03-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

I have a TYPO3 project (inherited) where storage is inside storage.

Storage 1 is default:
/fileadmin/

Storage 2 is
/fileadmin/media/

Now when opening a file browser to select a file I must wait like 10 seconds. After debugging it turns out that the performance downgrade is because the "_processed_" folder files of second storage are shown in first storage.

The class responsible for that is here
/typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php
public function getFolderTree(\TYPO3\CMS\Core\Resource\Folder $folderObject, $depth = 999, $type = '') {

If we remove "_processed_" folder from $subFolders then performance is ok.

Actions

Also available in: Atom PDF