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 #1

Updated by Frans Saris over 8 years ago

Just curios, what is your use-case to fetch the processed file by publicUrl?

Actions #2

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!

Actions #3

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.

Actions

Also available in: Atom PDF