Task #52778
closed
Epic #55070: Workpackages
Epic #54260: WP: FAL Missing Issues / Features / API
Story #54263: As an Integrator I want to have my metadata present at places when using files
No metadata shown for Folder and Category bases collections
Added by Frans Saris over 10 years ago.
Updated over 6 years ago.
Category:
File Abstraction Layer (FAL)
Estimated time:
(Total: 7.00 h)
Description
The frontend redering of Folder and Category based collections (tt_content.uploads) doesn't use the description from sys_file_metadata
- Status changed from New to Accepted
This is due to the face that driver->getFilesInFolder creates the files manually...
a refactoring of driver and storage is needed!
Folder::getFiles
Driver::getFileObject
are remaining direct calls to ResourceStorage::createFile which need to be removed
For folder: only query fileIdentifiers in folder from Driver - filtering is OK
folder then should iterate over that and(with start and limit) and do ResourceFactory::getFileObjectByStorageAndIdentifier()
In an advanced version (which would be even faster):
Extend the driver and file SQL to add the hash of the "folder" to the file_index; add a findByFolder to indexRecordRepository (the current method only will work for hierachical storages)
- Assignee set to Steffen Ritter
- Target version set to 6.2.0
- Parent task set to #54263
- Status changed from Accepted to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF