Add Extractor for extracting required metadata inside Indexer to update the correct width and height metadata on index update.
Snce TYPO3 v10, the core changed it's behaviour inside the Indexer::updateIndexEntry method by adding an ExtractorService for automatically extracting (required) metadata for files. Because of this update, the metadata for width and heigth were not updated correctly when, for example, and editor would replace files from within the filelist module.
By adding this Extractor, the metadata is now correctly updated again when the Indexer::updateIndexEntry method is being executed.
You can test this in a TYPO3 v10 installation with the Fal S3 driver installalled. Without this patch, uploading and updating an image (with changed sizes) would not correctly update the metadata. It would leave the width and height set to the dimensions of the initially uploaded files. When adding this patch, the width and height should be updated correctly again.
Add Extractor for extracting required metadata inside Indexer to update the correct width and height metadata on index update.
Snce TYPO3 v10, the core changed it's behaviour inside the
Indexer::updateIndexEntry
method by adding an ExtractorService for automatically extracting (required) metadata for files. Because of this update, the metadata for width and heigth were not updated correctly when, for example, and editor would replace files from within the filelist module.By adding this Extractor, the metadata is now correctly updated again when the
Indexer::updateIndexEntry
method is being executed.You can test this in a TYPO3 v10 installation with the Fal S3 driver installalled. Without this patch, uploading and updating an image (with changed sizes) would not correctly update the metadata. It would leave the width and height set to the dimensions of the initially uploaded files. When adding this patch, the width and height should be updated correctly again.