nextcloud / nextcloud/server

Unexpected user ID shown instead of name

Open
#40,016 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 28-feedback bug feature: authentication feature: users and groups hotspot: account name handling
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Hi, apologies if this is a duplicate issue, I have looked but couldn't see anything that looked similar.

Steps to reproduce

  1. Create a SAML user
  2. Write a message to them
Expected behaviour

The message preview for a user what is sent should be consistent. E.g. when I @[person] I expect the message to show the same, rather than be replaced by their user ID.

Preview
Capture-2023-07-14-134418

Sent
Capture-2023-07-14-134452

Actual behaviour

The message is not consistent with the preview.

Talk app

Talk app version: 15.0.6

Custom Signaling server configured: yes

Custom TURN server configured: yes

Custom STUN server configured: yes

Browser

Microphone available: yes

Camera available: yes

Operating system: macOS

Browser name: Chrome

Browser version: 114

Nextcloud Version: 25.0.7 Enterprise

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

Use the issue's reproduction steps with a SAML user in Talk 15.0.6, comparing the message preview with the sent message in Chrome. Trace the mention handling responsible for replacing @[person] with a user ID; done means the preview and sent message display the same user name. No source file or test is named, so the relevant Talk code and coverage must first be located.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
authentication, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.