Missing drupal:media_library dependency

Created on 31 July 2020, almost 4 years ago
Updated 8 May 2024, about 2 months ago

Problem/Motivation

It seems this module depends on drupal:media_library but doesn't declare that in the info file.

Steps to reproduce

Install Gutenberg Editor on a Drupal site without the Media Library module installed and the install fails with:

Fatal error: Interface 'Drupal\media_library\MediaLibraryOpenerInterface' not found in /web/modules/contrib/gutenberg/src/MediaLibraryGutenbergOpener.php on line 16

Proposed resolution

Declare a dependency on drupal:media_library.

Remaining tasks

Patch, review.

πŸ› Bug report
Status

Postponed: needs info

Version

1.11

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States chrisolof

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024