RocketChat / RocketChat/Rocket.Chat
[BUG] Multiple email queue after a successful File Export on multiple clicks.
Open
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 FIleExport, When a user clicks multiple times on Export, 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.
- On Method, choose
Export as fileand choose the date duration. - Try clicking multiple times on
Export
Expected behavior:
Expected behaviour should be, Once the email is successfully queued for the export, the Contextual Bar must be closed.
Actual behavior:
After successful queue, you can click multiple times on Export.
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 by reproducing the FileExport flow described in the issue, then trace the Export action and contextual bar behavior. Done means a successful export queue closes the contextual bar and repeated clicks do not queue additional emails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100