Project

General

Profile

Actions

Bug #74452

closed

retrieveFileOrFolderObject does not find processed files

Added by marian gosign over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-03-07
Due date:
% Done:

0%

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

Description

Usage example:

$processedFile = $resourceFactory->retrieveFileOrFolderObject($filePublicUrl);

with `$filePublicUrl` being a path as returned by `IMG_RESOURCE` for example.

  1. I expect:

`$processedFile` is a `ProcessedFile` instance

  1. What happens:

`$processedFile` is NULL

  1. The reason

The table `sys_file_processed` uses `/processed/...` identifiers but `findBestMatchingStorageByLocalPath` strips the `/` at the beginning so match can be found. The reason is explained in #65765.

Actions

Also available in: Atom PDF