RocketChat / RocketChat/Rocket.Chat

If a member of a DM group has been deleted, the userInfo tab will return UserNotFound each time you click on it

Open
#21,971 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

If a member of a DM group has been deleted, the userInfo tab will return UserNotFound each time you click on it. This happens if the user that has been deleted is the one originally displayed on the userInfo tab in a DM group with >2 users.

Steps to reproduce:
  1. Create a DM group with >2 members
  2. Try to see the userInfo
  3. Delete a user
  4. Try to see again the user info
Expected behavior:

You should be able to see the userInfo tab without errors

Actual behavior:

It returns a error each time you try to see the userInfo

https://user-images.githubusercontent.com/45966964/117221234-22664b00-ae09-11eb-83eb-82c3712befc6.mp4

Server Setup Information:
  • Version of Rocket.Chat Server: 3.14.0-develop
  • Operating System: Linux
  • NodeJS Version: 12.21.0 - x64
  • MongoDB Version: 4.2.8
Client Setup Information
  • Desktop App or Browser Version:
  • Operating System:
Additional context
Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the DM group flow described in the issue: create a group with more than two members, delete the user initially shown in the userInfo tab, and reopen that tab. Trace the userInfo tab entry point and the UserNotFound response. Done means the tab opens without an error after the displayed user is deleted.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.