Bug #82066
Please check file for existance before starting the extractor
100%
Description
Hello,
I have some sys_file records with flag missing=1.
FileStorageExtractionTask calls findInStorageWithIndexOutstanding which will also return missing file records.
In extractMetadataFromImage -> getMetaData you call
$exif = @exif_read_data($fileName);
You have luck. It will not break and return false, but some lines below:
if (function_exists('iptcparse') && getimagesize($fileName, $imageinfo)) {
This will break, because file does not exist.
Can you please add a check for file existance very early before calling file related functions?
Stefan
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project TYPO3CMS/Extensions/Extractor has been pushed to the review server.
It is available at https://review.typo3.org/53689
Updated by Xavier Perseguers over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1882c18776f6aa18166d932e9f7070f52092d38f.