-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.5
-
None
-
Empty show more show less
-
Yes
-
Yes
-
UI FW 34, UI FW 35
-
3
Edition | Magnolia DX Core | |
Version (bundle) | 6.2.4 (Snapshot: 2020.10.30 12:17:37) |
It should be possible to restrict the type of assets for upload. When using the $type: uploadField with its allowedMimeTypePattern property:
form: properties: upload: $type: uploadField allowedMimeTypePattern: image/jpeg
A warning does pop up for the unsupported type, but if the user still hits Save changes in the dialog, even the unsupported type gets eventually uploaded:
Dev note
Quick check if Vaadin has API to check the mime type on client-side, but only worth a 1 SP.
- is caused by
-
MGNLDAM-851 DOC: Create new pages for dam-app (parent) and dam-app-jcr (child)
- Closed
- is causing
-
MGNLUI-7443 Don't use javax.activation for mimetype matching
- Open
- is cloned by
-
MGNLDAM-981 AllowedMimeTypePattern property doesn't work as expected
- Closed
- is related to
-
MGNLUI-6543 maxUploadSize property doesn't work as expected
- Closed
- relates to
-
MGNLUI-6670 mime types of files uploaded via FileUpload field are not resolved correctly
- Closed
-
MGNLUI-6894 MimeType restriction for upload field not working under Windows
- Closed
-
MGNLUI-4871 Show when validator fails in link field
- Open
- to be documented by
-
MGNLUI-6822 DOC: New properties, default values and i18n keys for 'UploadFieldDefinition'
- Closed