RocketChat / RocketChat/Rocket.Chat

(3.9.3) The name of the sidebar and chat title is not updated

Open
#19,046 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description:

I have modified the search attribute to show the full name of the user, previously I used giveName and I switched to using displayName.
The output result is correct in the conversation but in the column to the right it is not updated.

Steps to reproduce:
  1. Admin
  2. LDAP
  3. {"giveName":"name", "mail":"email"} by {"displayName":"name", "mail":"email"}
Expected behavior:
Actual behavior:

Update the display name of the users

Server Setup Information:
  • Version of Rocket.Chat Server: 3.6.3
  • Operating System: Ubuntu Server
  • Deployment Method: /tar/
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Yes
  • NodeJS Version: v12.18.3
  • MongoDB Version: 4.0.20
Client Setup Information

It is not updated in any of the access routes, Android, PC, Browser, etc.

Additional context

image

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 LDAP mapping from Admin > LDAP, changing the name attribute from giveName to displayName. Compare the conversation result with the sidebar and chat title across the reported clients; done means the updated display name appears consistently.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.