File upload component does not load excel files: xls, xlsx

Hi, using latest version,
I implemented < upload > for csv files with no problem using self written UploadHandler until JMIX handler wrapper for upload/reject/removed/succeeded … are on board again.

BUT,
.xls, .xlsx, application/vnd.ms-excel and other mime-type for spreadsheets/Excel always run to ‘rejected’.

Any idea,
thanks in advance,

best regards
HP

Hello!

Did you check your logs for errors? Maybe there are errors in web browser console?

I’ve implemented a simple temporary storage upload handler according to the Vaadin documentation: Handling file uploads in the Upload component | Vaadin, and XLSX files are uploaded successfully.

You can find an example in the demo project: temp-upload.zip (118.0 KB)

If you’re still have issues, please share your solution so that we can help.