RocketChat / RocketChat/Rocket.Chat
Changing the status of file import
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
In the Manage -> workspace -> import section when i am trying to import files other than csv then error is showing that file type is not required instead in status section it is showing file loaded
Steps to reproduce:
1 - Go to Manage
2- click on workspace
3 - click on import
4- select csv file
5- upload files other than csv
6 - verify the status on the Last Status coloumn
7 - status is showing as file loaded
Expected behavior:
Status should be showing as File not loaded with reason or we can add one coloum what is the reason of not loading (Like different file extension)
Actual behavior:
- Instead of error is showing still i can see the file is there and the status is showing as file loaded.
Server Setup Information:
- Version of Rocket.Chat Server:
- License Type:
- Number of Users: 2
- Operating System: wsl ubantu 24 lts
- Deployment Method:
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
Client Setup Information
- Desktop App or Browser Version:Browser Version
- Operating System:Linux
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 in Manage > Workspace > Import and reproduce the upload using a non-CSV file after selecting CSV. Check how the Last Status column is populated when the file-type validation error appears. Done when rejected files no longer show “file loaded” and instead display an appropriate failure status or reason.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100