RocketChat / RocketChat/Rocket.Chat
name change causes issues when opening chat window
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
People are trying to open a chat with one of our colleagues that recently changed their surname - "J. Schulte" became "J. Kuettner"
People that never have had any chat contact with him before don't have any problems finding him and opening a chat window.
However people that have had contact before experience 4 different phenomenons:
- if they search for example for "jku" and click on "kuettner" the chat tries to load a window, but nothing happens and the app freezes.
- if they search for "jschulte" the chat window still appears (as they had contact before) and they can reload the window, but they are chatting with jschulte (an account that shouldn't excist anymore)
- some people even click on jschulte but it opens a window with jkuettner
- it says "jschulte" above the chat window and int the contact list but above each message it says "jkuettner" and the time.
Expected behavior:
Clicking on jkuettner should open a chat window with jkuettner, even if people had contact with him under his previous name.
Actual behavior:
see "Description"
Server Setup Information:
- Version of Rocket.Chat Server: Version 0.65.2
- Operating System: Debian 9 Kernel 4.9.0-6-amd64
- Deployment Method: extract .tgz and npm install
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 8.11.3
- MongoDB Version: 3.2.11-2
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
No files, tests, or entry points are named. Start by reproducing the surname-change scenarios on the reported Rocket.Chat 0.65.2 setup, then trace chat and contact lookup behavior for users with prior conversations; done means each selection opens the current J. Kuettner chat consistently without freezes or stale names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100