-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working for nested storages #42
Comments
Fetch files from their storage using their local path instead of the full file identifier which may contain the base path of the storage. Fixes IchHabRecht#42
@mbrodala Just tried your PR in TYPO3 11.5.4. Unfortunatly it is not working. RemoteResourceCollection::getFileObjectFromStorage returns null (file not exists) :( |
Can you debug, why? |
@mbrodala Physical file: For some reasons a.jpg in sys_file is in storage 1. But TYPO3 or Filefile is using "findBestMatchingStorageByLocalPath" which returns Storage uid 2. -> fail So i was wrong your patch works for files that have sysfile storage uid 2 but not if they have storage uid 1. |
Not sure anything can be done about this. The extension uses the offical TYPO3 API to determine the storage for a given file path |
Technically TYPO3 allows for creating storages which exist within other storages. Example:
If a file from storage UID 2 like
fileadmin/media/videos/video.mp4
is now embedded in content, Filefill fails to download this file.The text was updated successfully, but these errors were encountered: