Add support for media with svg_image_field fields.

Created on 23 August 2023, 10 months ago

Problem/Motivation

The module appears to not be compatible with the svg_image_field β†’ module. After uploading a Icon media bundle that uses the svg_image_field. The following warning is logged:

Unable to create checksum for svg. Unable to get a definition for media type svg.

and the site status report page lists the media entities as "missing a duplicates checksum".

Steps to reproduce

  1. Install both the media_duplicates and svg_image_field modules.
  2. Setup a media bundle that uses a svg_image_field.
  3. Upload/create a new media item of the bundle type created in step 2.
  4. Go to /admin/reports/status, a warning about media items "missing a duplicates checksum" should be showing.
  5. Go to /admin/reports/dblog, a "Unable to create checksum for svg. Unable to get a definition for media type svg." warning should have been logged

Proposed resolution

Add support for media entities using the svg_image_field module.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States PCate

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024