-
Type: Bug
-
Status: Resolved
-
Priority: Detail
-
Resolution: Fixed
-
Affects Version/s: 2.2.0
-
Component/s: Upload
-
Release Notes Summary:Dropzone is usable with files without file extension.
-
Tags:
-
Browser:
-
Sprint:nxGang Sprint 11.1.3
-
Story Points:1
I am trying to upload a tensorflow record which has no file extension or mimetype. The dropzone errors which:
nuxeo-app.html:27990 Uncaught TypeError: Cannot read property '0' of null at DefaultUploadProvider.accepts (nuxeo-app.html:27990)
It looks to be:
const fileType = file.name.match(/\.[^.]*$/)[0];
- Is referenced in