RocketChat / RocketChat/Rocket.Chat
unable to upload viso or xmind file
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Unable to upload xmind files and viso files via Electron client or firefox,safari,chrome
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the drag-and-drop upload with .xmind and .vsdx files in the Electron client and a browser, then trace the file-upload path that produces “Media Type Not Accepted: undefined.” Compare the behavior with the stated media whitelist and blacklist settings; done means both file types upload successfully without the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100