Actions
Bug #44910
closedLocalDriver: Recursive file listing is broken
Status:
Closed
Priority:
Should have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-01-29
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
Description
The recursive file listing, introduced as part of the public API in #43249, is currently broken.
One problem is that the file information retrieval is incomplete: The filename of files in subfolders also contains the path to this file from the current folder, while the identifier is missing that information. The identifier is thus wrong and the filename contains too much information (more than the filename).
Additionally, the method getDirectoryItemList() returns the file list with the filenames as key, which will fail when a file name exists twice in different folders. Therefore, we should either use the complete identifiers or numerical keys.
Actions