Closed (duplicate)
Project:
Media Directories
Version:
8.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2020 at 12:36 UTC
Updated:
4 Mar 2020 at 08:11 UTC
Jump to comment: Most recent
Comments
Comment #2
ytsurkHow to reproduce this?
I tried
drush si, anddrush en media_directories_editor(on 8.8.2) - and all worked fine ..Also, I would not make the config optional. The module shall not be enabled, when it gets enabled the button should be made.
If we cannot make the button, we should check via hook_requirements, so users to necessary steps first to finally successfully install the editor sub-module ...
Comment #3
rang501 commentedI had a problem with site install when using a custom profile that didn't install media types (config inside submodule). Maybe something to do with dependencies.
It does work with the Standard profile.
Maybe this config should be created programmatically on module install, we could then check if standard media types are available or not? If not available, notify user about it.
Comment #4
ytsurkI just would not let install the module if no media type is enabled (via hook_requirements).
Comment #5
ytsurkComment #6
ytsurkThis issue is duplicated by #3117564: Remove media type dependencies from embed button config