Task #52778

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 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-11-16
Due date:
2014-02-15
% Done:

100%

Estimated time:
(Total: 7.00 h)
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The frontend redering of Folder and Category based collections (tt_content.uploads) doesn't use the description from sys_file_metadata


Subtasks

Task #53687: FileRepository:getFileIndexRecordsForFolder only works for hierarchical pathClosedSteffen Ritter

Task #53688: ResourceFactory::createFileObject is called from Folder::getFiles directlyClosedSteffen Ritter

History

#1 Updated by Steffen Ritter over 6 years ago

  • 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!

#2 Updated by Steffen Ritter over 6 years ago

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)

#3 Updated by Steffen Ritter about 6 years ago

  • Assignee set to Steffen Ritter

#4 Updated by Steffen Ritter about 6 years ago

  • Target version set to 6.2.0

#5 Updated by Steffen Ritter about 6 years ago

  • Parent task set to #54263

#6 Updated by Steffen Ritter about 6 years ago

  • Status changed from Accepted to Resolved

#7 Updated by Riccardo De Contardi over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF