You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] Web - Email Mention Displays Number Instead of Email When Edited #46426
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Version Number: 9.0.13-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers):betlihemasfaw14@gmail.com Issue reported by: Applause - Internal Team
changed the title [-]Web - Email Mention Displays Number Instead of Email When Edited[/-][+][$250] Web - Email Mention Displays Number Instead of Email When Edited[/+]on Jul 30, 2024
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
melvin-bot commentedon Jul 29, 2024
Triggered auto assignment to @lschurr (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.[-]Web - Email Mention Displays Number Instead of Email When Edited[/-][+][$250] Web - Email Mention Displays Number Instead of Email When Edited[/+]melvin-bot commentedon Jul 30, 2024
Job added to Upwork: https://www.upwork.com/jobs/~015d8db50900d91088
melvin-bot commentedon Jul 30, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann (
External)jp928 commentedon Jul 31, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
When edit a mentioned user, the user name turns into account number.
What is the root cause of that problem?
In the following code
App/src/libs/Parser.ts
Line 18 in 881c548
the account id is saved into
accountIDToNameMapWhile editing a message, the parser in the following code
App/src/libs/Parser.ts
Line 34 in 881c548
would use
String(personalDetails.accountID)to parse the mentioned user.What changes do you think we should make in order to solve the problem?
use
accountIDToNameMap[personalDetails.accountID] = personalDetails.login ?? personalDetails.displayName;What alternative solutions did you explore? (Optional)
Add

loginattribute in the payload ofpersonalDetialsListDylanDylann commentedon Aug 1, 2024
This issue is fixed by this PR
@lschurr Let's close this issue