Project

General

Profile

Actions

Bug #46482

closed

cached image sizes (sys_file) are not updated when replacing a file

Added by Marcus no-lastname-given about 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-03-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Remote Sprint

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 2 (0 open2 closed)

Related to TYPO3 Core - Bug #46446: sys_file doesn't get updatedClosed2013-03-20

Actions
Related to TYPO3 Core - Bug #45922: image replacement, width and height are kept even i change my imageClosed2013-02-28

Actions
Actions

Also available in: Atom PDF