Correctly clear memory folder- and fileExistsCaches on object actions
Make sure memory cache uses the same object keys by trimming paths
This fix has been implemented in v2 during the upgrade and resolves issues with processing folder creation on and empty bucket. Without this fix, when uploading a file in the backend or processing files in the frontend, you will get errors that the parent folder does not exist.
The ResourceStorage::getNestedProcessingFolder throws an error when recursively creating folders because, after creating the first folder (e.g. /_processed_/c) the driver still has the memory cache that contains /_processed_/c as non existing.
By clearing the memory cache on every file or folder action, as we already do with remote caches, TYPO3 will now correctly create multiple processing folders at a time.
This fix has been implemented in v2 during the upgrade and resolves issues with processing folder creation on and empty bucket. Without this fix, when uploading a file in the backend or processing files in the frontend, you will get errors that the parent folder does not exist.
The ResourceStorage::getNestedProcessingFolder throws an error when recursively creating folders because, after creating the first folder (e.g.
/_processed_/c
) the driver still has the memory cache that contains/_processed_/c
as non existing.By clearing the memory cache on every file or folder action, as we already do with remote caches, TYPO3 will now correctly create multiple processing folders at a time.