Unnecessary 'path' in entity_form_display config for svg_image_field_media_bundle

Created on 15 February 2023, almost 2 years ago
Updated 20 February 2023, almost 2 years ago

Problem/Motivation

Hello,
I started a new project with PHP 8.1.8, Drupal 10.0.3 and I installed Drupal with the core minimal profile, installed media, media_library and svg_image_field modules. When I try to install svg_image_field_media_bundle module I have an error like below:

docker@cli:/var/www$ drush en svg_image_field_media_bundle -y

In UnmetDependenciesException.php line 100:

  Configuration objects provided by <em class="placeholder">svg_image_field_media_bundle</em> have unmet dependencies: <em class="placeholder">core.entity_form_display.media.vector_i
  mage.default (path)</em>

I don't have the installed module 'path' and I not needed that module on this project. I checked the core standard profile and media type like image don't required path module: https://git.drupalcode.org/project/drupal/-/blob/10.0.x/core/profiles/standard/config/optional/core.entity_form_display.media.image.default.yml

Steps to reproduce

  1. Install a Drupal with minimal profile
  2. Download and install svg_image_field
  3. Try install svg_image_field_media_bundle

Proposed resolution

Remove the path field from entity_form config. I created the patch and the pull request for this

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

🇵🇱Poland adrianliegmann

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

Comments & Activities

Production build 0.71.5 2024