Project

General

Profile

Actions

Bug #55511

closed

retrieveFileOrFolderObject does not support delted files.

Added by Nikolay Orlenko almost 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-01-31
Due date:
% Done:

0%

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

Description

related to #45748

When i am trying to pass not existed file to function retrieveFileOrFolderObject (ResourceFactory.php) by absolute or relative path it return error about not existed file.

The problem that after checking line #442

} elseif (@is_file(PATH_site . $input)) {

it tries to make directory object.

The method should check file_exists before going to directory initialization somehow at line #L447.

Actions

Also available in: Atom PDF