-
-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MediaBrowser allowedFileTypes is empty #14604
Labels
bug
The issue in the code or project, which should be addressed.
Milestone
Comments
JoshuaLuckers
added
bug
The issue in the code or project, which should be addressed.
state/confirmed
labels
Aug 6, 2019
After reproducing this issue I noticed that the file tree handles this correctly but the Media Browser doesn't. |
gpsietzema
added a commit
to Sterc/revolution
that referenced
this issue
Apr 3, 2020
This was referenced Apr 3, 2020
Closed
JoshuaLuckers
added a commit
that referenced
this issue
Apr 4, 2020
Merge remote-tracking branch 'upstream/pr/15046' into 3.x * upstream/pr/15046: Changed order of array_merge to have the mediasource value to remain. Fixes #14604
The PR to resolve this this issue has been merged, therefore I'm closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Summary
When having a mediasource and setting the allowedFileTypes to
jpg,jpeg,png,gif,psd,ico,bmp,svg,doc,docx,pdf,vcf
. I still see files which should be hidden. While debugging I found out that the allowedFileTypes property in the processor is empty:So I did a console.log inside modx.browser.js on line 39:
Step to reproduce
jpg,jpeg,png,gif,psd,ico,bmp,svg,doc,docx,pdf,vcf
Observed behavior
I still see the .gitignore files and other files which are not included in the allowedFileTypes property of the mediasource. And I also noticed that the property is an empty string in the config in ExtJS, while that should contain the same value as configured in the media source.
Expected behavior
I expected the .gitignore files to not be visible anymore and also the allowedFileTypes ExtJS property to have the same value as configured in the media source.
Environment
MODX 3
The text was updated successfully, but these errors were encountered: