Closed (fixed)
Project:
Media Directories
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2021 at 14:25 UTC
Updated:
28 Dec 2021 at 22:54 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
sgmanojkumar commentedComment #3
ytsurkSeems like a config issue to me.
How is your field configured? What media entity types are allowed?
Actually, the entity browser should be restricted to the allowed media types .. but this might be an issue in RC3,
which won't fix, try to upgrade to 2.0.1!
Comment #4
ytsurkComment #5
mykhailo.levchenko commentedHI all. I have the same issue when I try to upload a new SVG. I Will wait for updates on this ticket
Comment #6
ytsurkI guess you're on latest 2.0.1 and not RC3 ?
SVGs should definitively be up-loadable (and should notbe using the oEmbedForm). Again seems like a config issue to me.
Do you encounter this in the form widget or the CKEditor Button?
Did you enable the corresponding media entity type for the used widget (in general media directories setting for the form widget, or in the CKEditor button settings when using media_directories_editor).
Comment #7
ytsurkComment #8
ytsurkCould you please have a look if the patch in the linked issue solves your problem?
What module do you use for the SVGs?
Comment #9
nitebreedReopening this ticket since I was encountering the same error on 2.0.1; For me it was happening in the CKEditor embed button. I didn't select any media bundles (since it stated that every bundle would then be available) on the embed button configuration page, and when I uploaded a video in a text editor I couldn't select it and got the error.
After selecting all media bundles, I was able to select the video and embed it in the CKEditor (so that's a workaround for now).
Comment #10
ytsurkDoes the patch here #3248194: Fixes for some combined upload related warnings solve your problem?
Or could you please try with the 2.x-dev version?
I think this should no longer be an issue, but will re-check.
Comment #11
ytsurkAlright, I can reproduce by just deselecting all types on the button config.
Here a fix.
Comment #13
ytsurk