Bug #65305

Bug #59473: Inconsistent API for folders

Folder::getSubfolder() doesn't use the file drivers correctly

Added by Frans Saris almost 7 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2015-05-25
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The Folder::getSubfolder() tries to create a folder identifier by it self but that is only possible for hierarchical file system.
The storage should be asked for the correct folder.

So a getFolderInFolder($folderName, $folder) function should be added to ResourceStorage and that once calls driver->getFolderInFolder()


Subtasks

Task #67126: Make sure ProcessedFile and LocalImageProcessor use correct FAL APIClosed2015-05-25

Actions

Related issues

Related to TYPO3 Core - Bug #14509: File module (aka fileadmin) "redirect" and "target" problemsClosedMichael Oehlhof2005-01-22

Actions
Related to TYPO3 Core - Bug #59475: Folder Object is missing getFileClosedSteffen Ritter2014-06-11

Actions
#1

Updated by Michael Oehlhof almost 7 years ago

The DriverInterface has no function getFolderInFolder(), only the LocalDriver has it.
Should we add this function to the interface?

#2

Updated by Frans Saris almost 7 years ago

Yes, getFolderInFolder and getFileInFolder should be part of the interface.

#3

Updated by Gerrit Code Review almost 7 years ago

  • Status changed from New 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 http://review.typo3.org/38479

#4

Updated by Gerrit Code Review almost 7 years ago

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

#5

Updated by Gerrit Code Review almost 7 years ago

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

#6

Updated by Gerrit Code Review over 6 years ago

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

#7

Updated by Gerrit Code Review over 6 years ago

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

#8

Updated by Gerrit Code Review over 6 years ago

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

#9

Updated by Gerrit Code Review over 6 years ago

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

#10

Updated by Gerrit Code Review over 6 years ago

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

#11

Updated by Gerrit Code Review over 6 years ago

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

#12

Updated by Gerrit Code Review over 6 years ago

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

#13

Updated by Michael Oehlhof over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#14

Updated by Gerrit Code Review over 6 years ago

  • Status changed from Resolved 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 http://review.typo3.org/40487

#15

Updated by Benni Mack over 6 years ago

  • Status changed from Under Review to Resolved
#16

Updated by Gerrit Code Review over 6 years ago

  • Status changed from Resolved to Under Review

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

#17

Updated by Benni Mack over 6 years ago

  • Status changed from Under Review to Resolved
#18

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF