Closed (fixed)
Project:
Metadata Sanitizer
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2026 at 17:00 UTC
Updated:
21 Feb 2026 at 22:42 UTC
Jump to comment: Most recent
Comments
Comment #2
dieterholvoet commentedComment #3
dieterholvoet commentedIn another issue the file sanitation logic should probably be moved to a service, to reduce duplication and to statically cache the executable path to make sure it's only being looked for once per request.
Comment #4
dieterholvoet commentedWe should probably also add a
hook_requirementsimplementation checking if the executable is available in any of the default or configured paths.Comment #5
zarabatana commentedThanks for tackling this! Could you open an MR from the issue-fork branch 3570407-add-option-to?
The core requirement is an exiftool_path setting (optional full path). If empty, we can still try PATH/default locations so UI uploads work even when the webserver PATH differs from Drush.
If you have time, it’d be great to reuse the same resolver for both the upload path and the Drush command, and use it for the status/requirements check too (to avoid duplication).
Comment #8
zarabatana commentedComment #9
zarabatana commentedMR !13 is now merged. This adds a configurable ExifTool executable path and default-path fallback, fixing the “exiftool: not found” error on UI uploads where the webserver PATH differs from Drush. The suggested service/refactor and requirements check can be handled in a follow-up. Marking fixed/closing.
Comment #11
zarabatana commented