-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.0
-
Fix Version/s: 8.10
-
Component/s: File Upload
-
Tags:
-
Backlog priority:800
-
Impact type:Configuration Change
-
Upgrade notes:
Currently we have inconsistent behavior when importing files with Drag'n drop because the system relies on the MIME type sent by the browser/OS.
For exemple a .xml file has:
- text/plain when sent from IE
- text/xml when sent from Firefox
As a result, a Note or a File document will be created in Nuxeo Platform.
The same problem was also reported with .pdf file or .stp file.
What should Nuxeo do?
Nuxeo should read the content of the mimetype registry to determine the mimetype of the file according to its extension.
Solution to reproduce the browser issue with IE:
- open regedit
- navigate to HKEY_CLASSES_ROOT\.xml
- change the ContentType value from text/xml to text/plain
- restart IE
- D&D a .xml file
- it will create a Note document instead of a File document
- is required by
-
NXP-21075 Fix TestFileManagerService on PostgreSQL
- Resolved
-
NXDRIVE-640 Fix tests broken by change of behavior introduced by the platform
- Resolved