Project

General

Profile

Actions

Task #53688

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

Task #52778: No metadata shown for Folder and Category bases collections

ResourceFactory::createFileObject is called from Folder::getFiles directly

Added by Steffen Ritter over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2014-01-01
Due date:
2014-02-15
% Done:

100%

Estimated time:
3.00 h
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

sysext/core/Resource/Folder::getFiles directly collects the files from the driver (very expensive!) and creates FileObjects directly.
These FileObjects do not know of their index record!

The method has to be restructered. With method FileIndexRepository::findByFolder (introduced with #53687) the folder's index records can be retrieved.
  • The driver already provides a method that only returns the existing identifiers instead of extracting the file's data.
  • In case the IndexRecord is already present, the method calls ResourceFactory::getFile($uid, $indexRecord) otherwise ResourceFactory::getFileObjectByStorageAndIdentifier() is used.

Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Task #53687: FileRepository:getFileIndexRecordsForFolder only works for hierarchical pathClosedSteffen Ritter2013-11-162013-12-31

Actions
Actions #1

Updated by Steffen Ritter over 10 years ago

  • Assignee set to Steffen Ritter
Actions #2

Updated by Steffen Ritter over 10 years ago

  • Tracker changed from Bug to Task
  • Due date set to 2013-12-31
  • Estimated time set to 3.00 h
  • Translation missing: en.field_remaining_hours set to 3.0
  • Complexity set to medium
Actions #3

Updated by Steffen Ritter over 10 years ago

  • % Done changed from 0 to 10
Actions #4

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26360

Actions #5

Updated by Steffen Ritter over 10 years ago

  • % Done changed from 10 to 70
Actions #6

Updated by Steffen Ritter over 10 years ago

  • % Done changed from 70 to 90
Actions #7

Updated by Steffen Ritter over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 90 to 100
Actions #8

Updated by Steffen Ritter over 10 years ago

  • % Done changed from 100 to 90
Actions #9

Updated by Steffen Ritter about 10 years ago

  • % Done changed from 90 to 100
Actions #10

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF