Steps to reproduce:
- Create a File document with no attachment
- Drag'n drop a .docx file to the D&D area
- Observe that the preview is updated but also that the .docx file is downloaded
The problem sounds related to nuxeo-document-preview.js#_updatePreview which is called twice when the document is updated : the first time, it dowloads the previewer whose mime-type is ".*", the second time it downloads the PDF rendition as expected.
Expected behavior: the preview is updated once the file is uploaded with the D&D but no file download happens
- causes
-
ELEMENTS-1579 Fix file download from drag-and-drop on nuxeo-document-preview
- Resolved
- duplicates
-
WEBUI-260 The file is downloaded on the local machine with drag and drop on the dropzone
- Resolved
- links to