Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

unable to upload viso or xmind file

Open ntvis opened this issue 5 years ago • 2 comments

Description:

Unable to upload xmind files and viso files. Steps to reproduce:

Click and drag a xxx.xmind or xxxx.vsdx file from explorer window to Rocket chat window
Rocket chat gives "Media Type Not Accepted: undefined" .

Expected behavior:

Dropping a file uploads it to the chat

Actual behavior:

throw error and file not upload.

Server Setup Information:

Version of Rocket.Chat Server:3.18.1
Operating System: ubuntu 18.04
Deployment Method: Client executable
Number of Running Instances: 1
DB Replicaset Oplog:
NodeJS Version: v12.22.1
MongoDB Version: 4.0.26 / mmapv1 (oplog enabled)

FileUpload_Enabled: true
MediaTypeWhiteList: left blank
MediaTypeBlackList: left blank

Client Setup Information

Desktop App or Browser Version: Desktop 3.5.0
Operating System: Windows 10 Home

ntvis avatar Sep 10 '21 04:09 ntvis

@ntvis did you managed to test it on the web application?

The message "Media Type Not Accepted" probably do not comes from the code in this repository. I am confirming it.

Maybe it is a Rocket.Chat enhancement task.

cazetto avatar Sep 10 '21 17:09 cazetto

Yep, confirming that it's on Rocket.Chat. Please, please check if it is not already open in Rocket.Chat issues and if not, open it.

cazetto avatar Sep 10 '21 17:09 cazetto