Actions
Bug #74452
closedretrieveFileOrFolderObject does not find processed files
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.
- I expect:
`$processedFile` is a `ProcessedFile` instance
- What happens:
`$processedFile` is NULL
- 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