Bug #74452
closedretrieveFileOrFolderObject does not find processed files
0%
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.
Updated by Frans Saris over 8 years ago
Just curios, what is your use-case to fetch the processed file by publicUrl?
Updated by Riccardo De Contardi almost 8 years ago
- Status changed from New to Needs Feedback
Hi, could you tell us if this issue still occurs? How could we reproduce it? Thank you!
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Needs Feedback to Closed
More than 90 days without feedback > closing the issue.
If you think that this is the wrong decision or experience the issue again or have more information about how to reproduce it, please reopen this issue or open a new issue with a reference to this one.
Thank you.