Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User's default avatar is not reflected correctly #33602

Open
noobbbbb opened this issue Oct 16, 2024 · 7 comments
Open

User's default avatar is not reflected correctly #33602

noobbbbb opened this issue Oct 16, 2024 · 7 comments

Comments

@noobbbbb
Copy link
Contributor

noobbbbb commented Oct 16, 2024

Description:

Set default avatar, but only the color is reflected.

Steps to reproduce:

  1. Open profile settings page UserMenu -> Account -> Profile
  2. Set default avatar (Profile Photo is changed.)
  3. Save changes (save success dialog appears)

Expected behavior:

Avatar should change to the default avatar (username first letter and color combination)

Actual behavior:

Avatar does not display the username initial (only the color is reflected)

Server Setup Information:

  • Version of Rocket.Chat Server: 6.13.0
  • License Type: Community
  • Number of Users: 34
  • Operating System: Rocky Linux 9
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: v14.21.3
  • MongoDB Version: 6.0.7

Client Setup Information

  • Desktop App or Browser Version: 4.1.1
  • Operating System: Windows11

Additional context

  • We are using LDAP integration.
  • The storage type for file uploads is 'FileSystem'.

Relevant logs:

@Gummikavalier
Copy link

I could not replicate on RC 6.13.0. But F5 / refresh was required to load the changes immediately after.

@jopaleti
Copy link

@noobbbbb i can work on it

@adarsh-jha-dev
Copy link

@noobbbbb , can I work on it?

@noobbbbb
Copy link
Contributor Author

I apologize if I am wrong.
Why are you asking me?
Work on anything you like.
All I want is for the problem to be solved.

@noobbbbb
Copy link
Contributor Author

I tried creating a local (Windows11+WSL(Ubuntu)) environment with v6.13.0, but could not reproduce the problem.
The difference from the production environment is that the file upload destination is a file system and we are using LDAP integration.
Does this have anything to do with the default avatar not being reflected?

@reetp
Copy link

reetp commented Oct 22, 2024

we are using LDAP integration.

but could not reproduce the problem.

You'd need to test with LDAP authent then, and be able to repeat it.

You should also mention facts like LDAP in your bug report.

Where are the avatars stored?

@noobbbbb
Copy link
Contributor Author

noobbbbb commented Oct 23, 2024

we are using LDAP integration.

but could not reproduce the problem.

You'd need to test with LDAP authent then, and be able to repeat it.

You should also mention facts like LDAP in your bug report.

I followed your advice and listed it under “Additional context”.

We are using LDAP integration.
The storage type for file uploads is 'FileSystem'.

Where are the avatars stored?

The avatar image files are stored in the path set to “FileSystem”.
However, if you run “ResetAvatar”, no avatar image file is created or saved.
We have confirmed that if an svg format image is set as the avatar, it is internally saved as a png file.
Could this be related to the fact that I cannot set an svg format image for default avatar?

[Bug] svg avatar is not displayed #9859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants