Hi all,

I need to restrict the allowed mime types.
I set the property in /modules/dam/config/mediaTypes. This works
well for new uploads. But I can still edit an asset and replace it
with whatever I want.
I tried to restrict the value on 
/modules/dam-app/config/editAssetAppConfigurations/imageUploadConfig/supportedMediaTypes.
 
But I guess this is not the right place. The expected data type is a List, but 
whenever I set something like "image/jpeg, image/gif" the value is null.
If I set just "image/jgep" a NullPointerException occurs on uploading an 
unsupported media type, instead of presenting a nice error message.

Thanks for any hints,
Heike

I am using Magnolia 5.3.5

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=1b8bcf0a-52e0-43c9-b304-987115ba06b2


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to