Fixed
Project:
Exif
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2026 at 01:07 UTC
Updated:
26 Sep 2026 at 01:17 UTC
Jump to comment: Most recent
When uploading an image when fields are mapped, if specific metadata is not found for a mapped field, errors will be shown, e.g.:
Warning: Undefined array key "caption" in Drupal\exif\Hook\ExifHooks->entityPresave() (line 167 of modules/contrib/exif/src/Hook/ExifHooks.php).
Warning: Undefined array key "keywords" in Drupal\exif\Hook\ExifHooks->entityPresave() (line 177 of modules/contrib/exif/src/Hook/ExifHooks.php).
Map a metadata field to a media field.
Upload an image that doesn't have that element.
Fix the bug =)
Fix the bug =)
No errors.
n/a
n/a
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
damienmckennaFixed.