Project

General

Profile

Actions

Bug #92828

closed

Delete files in /typo3temp/assets/_processed_ fails (Remove Temporary Assets)

Added by Roman Schilter over 3 years ago. Updated 27 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2020-11-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you process a static file outside of the storage (without fal) it uses the hardcoded "Fallback Storage" (uid 0). This fallback-storage uses "typo3temp/assets/_processed_" as processingfolder.
Now if you try to delete the processed files in this folder using Maintenance > Remove Temporary Assets in the Install-Tool, an error occures. This is because the storage with the uid 0 cannot be found and it does not fall back to the hardcoded storage.

Steps to reproduce:
1. Process an image outside the storage

page = PAGE
page.10 = IMAGE
page.10 {
  file = typo3conf/ext/styleguide/Resources/Public/Images/colorpicker.jpg
  file.width = 100
}

2. Try removing the processed file using the install tool
Maintenance > Remove Temporary Assets > Delete 1 files in /typo3temp/assets/_processed_

=> An error will occur

I discovered this issue because news renders its dummy image using the ImageViewHelper.

Actions #1

Updated by Roman Schilter over 3 years ago

Turns out this got fixed in v11: https://git.typo3.org/Packages/TYPO3.CMS.git/blob/09a41b15ac3a4e87c40bccdcc78022be08aeac55:/typo3/sysext/core/Classes/Resource/StorageRepository.php#l101

I don't think a fix is required for v10, because it's a very niche issue.

Actions #2

Updated by Benni Mack 27 days ago

  • Status changed from New to Closed
  • Private changed from Yes to No

Thanks for sharing the information that it got fixed. Closing the issue!

Actions

Also available in: Atom PDF