Bug #46482

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

Added by Marcus no-lastname-given over 2 years ago. Updated 7 months ago.

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

related to Core - Bug #46446: sys_file doesn't get updated Needs Feedback 2013-03-20
related to Core - Bug #45922: image replacement, width and height are kept even i chang... Accepted 2013-02-28

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

Also available in: Atom PDF