Project

General

Profile

Actions

Bug #62829

closed

FAL not generating sys_file_metadata correctly

Added by Frederic Gaus over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2014-11-10
Due date:
% Done:

100%

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

Description

Currently (tested on 6.2.6) FAL does not generate the metadata of images correctly. If an entry in sys_file_metadata is missing on file usage, FAL generates them on the fly. But an images' width/height are not correctly generated and thus are stored in database as "0".

This has a very silly behavior as a result. On the first uncached page view, the images are displayed correctly. This lasts until the second uncached page view is done. Since this moment, the images seem to be gone because they are generated with width=0 and height=0. After truncating sys_file_metadata the procedure can be reproduced.

This only occurs with images which are not processed by gifbuilder. To solve the problem there is a easy workaround:

UPDATE sys_file SET missing=1;

and then start the scheduler Task for indexing files (TYPO3\CMS\Scheduler\Task\FileStorageIndexingTask). But best would be to fix the reason.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #89020: Unknown column 'newlyCreated' in 'field list'Closed2019-08-26

Actions
Actions

Also available in: Atom PDF