Project

General

Profile

Actions

Bug #61524

closed

FAL processing folder doesn't work with non-hierarchical file systems

Added by Markus Hölzle about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-09-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

there is a bug in Class \TYPO3\CMS\Core\Resource\ResourceStorage in function getProcessingFolder():
There is the driver called with the function

$this->driver->folderExists($processingFolder)

and
$this->driver->getFolderInfoByIdentifier($processingFolder);

The problem is that the "$processingFolder" contains a string with the name of the folder - not the identifier. In most file systems, this is the same, but not on non-hierarchical file systems.

I think there must be a function like "$this->driver->getIdentifierByName($processingFolder)" or something like that.

What do you think about it?

Actions #1

Updated by Frans Saris about 10 years ago

  • Status changed from New to Needs Feedback

Imo the passed folder var should be its identifier and not the name. (I'm currently not able to test if core does this correct now.)

Also for hierarchical storages the identifier not the same as the foldername

Identificeren: my/folder
Name: folder

So if you are correct the core is now also broken for hierarchical storages.

Actions #2

Updated by Alexander Opitz almost 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF