#62829FAL not generating sys_file_metadata correctly
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.