RocketChat / RocketChat/Rocket.Chat
[BUG] Wrong error message when user already exists
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
When user already exists wrong error message is shown which is 'The users have be added'.
Steps to reproduce:
- Go to any room
- Click on members
- Click on add users
Expected behavior:
Actual behavior:
Server Setup Information:
Version of Rocket.Chat Server: 4.6.0-develop
Operating System: Linux ubuntu 20.04
NodeJS Version: v14.18.3
MongoDB Version: 4.4.4 / wiredTiger (oplog Enabled)
Client Setup Information
Desktop App or Browser Version: Chrome 97.0.4692.99 (Official Build) (64-bit)
Operating System: Linux Ubuntu 20.04
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
Reproduce the issue in a room by opening Members, selecting Add users, and attempting to add an existing user; compare the displayed message with the linked expected and actual behavior videos. Trace the client-side flow for that action and verify that the duplicate-user case shows a correct error message instead of “The users have be added”.
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