RocketChat / RocketChat/Rocket.Chat
[BUG] Multiple email queues for same messages, on exporting via Email.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
On exporting the messages via email, When a user clicks multiple times on Send, the email for sending the export messages
is queued multiple times.
Steps to reproduce:
- Open any Channel, Go to 3 dots on the Top-Right Corner.
- Click on Export messages.
- Select
Send via email, and fill in all the details and select the messages. - Try clicking multiple times on
Send
Expected behavior:
Expected behaviour should be, Once the email is successfully queued for the export, the Contextual Bar must be closed.
Actual behavior:
We can queue as my Export emails.
Server Setup Information:
- Version of Rocket.Chat Server: 3.14.0-develop
- Operating System: Gitpod-linux
- Deployment Method:
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version: 12.22.1 - x64
- MongoDB Version: 4.2.8
Client Setup Information
- Desktop App or Browser Version:
- Operating System:
Additional context
Relevant logs:
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 at the Export messages contextual bar and its Send action described in the reproduction steps, then trace how the email export is queued. Reproduce repeated clicks and verify that only one export email is queued and the contextual bar closes after successful queuing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100