Bug #46482
cached image sizes (sys_file) are not updated when replacing a file
Status: | New | Start date: | 2013-03-21 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | File Abstraction Layer (FAL) | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.0 | Is Regression: | No | |
PHP Version: | Sprint Focus: | On Location Sprint | ||
Complexity: |
Description
The cached image sizes in the sys_file table are not updated when a file is replaced with ResourceStorage->replaceFile(...).
Images in frontend don't have the right size when you use the f:image tag. The img-tag has the old image size.
For example (backend)
...
$storage->replaceFile(
$fileObject,
$_FILES['tx_iffilesearch_file_iffilesearchfilsearch']['tmp_name']['upload']
);
...
Related issues
History
#1 Updated by Ingo Schmitt over 1 year ago
- Category set to File Abstraction Layer (FAL)
- Is Regression set to No
#2 Updated by Frans Saris 7 months ago
- Sprint Focus set to On Location Sprint