JS error Uncaught ReferenceError: file is not defined when selecting the dropzone tab in entity browser

Created on 12 March 2023, almost 2 years ago
Updated 13 March 2023, almost 2 years ago

Problem/Motivation

Using entity browser with a dropzone widget. When I click on the dropzone tab, I get a js error "Uncaught ReferenceError: file is not defined"
The widget still works and I can upload, but this message is in the js console.

the error is on line 115 of dropzone.integration.js

if (!Dropzone.isValidFile(file, this.options.acceptedFiles)) {
          this.options.dictInvalidFileType = dropzoneInstance.options.invFileMessage;
        }

the file variable is never defined here.

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇺🇸United States loze Los Angeles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024