[Server Moderation]: Editing a user's profile picture leads to unwanted visual side effects
-
Hello, I am getting the following bug on our instance of nodebb @ plutonium.pw
The repo steps are the following:
- As a forum moderator with enough privileges, find the user you want to change the profile picture of
- Upload a new profile picture on the user's profile
- Observe the user's profile picture change alongside yours (the moderator) on the top-right side banner on your screen
PICTURES
Before:
After:
What happened?
The pictures show the user in the "before" having the default forum profile picture we set up on our website which is meant to look like an atom.
On the top right of the screen, you see my profile picture which is different from that.
After I uploaded a new profile picture both the user and mine changed to the user's new profile picture.Please note that the bug appears to be purely "visual" as it does not actually change my profile picture although it looks like it.
A simple page refresh clears out the wrong profile picture from my banner on the top right side of my screen.If you wish, I can also upload a video showcasing the repro steps, I just thought pictures were simpler.
I kindly ask a moderator of this community to try to reproduce this on an unsuspecting user like myself (like changing my profile picture to something else) and see if the same visual glitch can be reproduced on your side.
Details:
NodeBB version
v3.3.6NodeBB git hash
7fb3879NodeJS version
v18.16.0Installed NodeBB plugins
[email protected] (installed, enabled)
[email protected] (installed, enabled)
[email protected] (installed, enabled)
[email protected] (installed, enabled)
[email protected] (installed, enabled)
[email protected] (installed, enabled)
[email protected] (installed, enabled)
[email protected] (installed, disabled)
[email protected] (installed, disabled)
[email protected] (installed, disabled)
[email protected] (installed, enabled)
[email protected] (installed, enabled)
[email protected] (installed, disabled)
[email protected] (installed, disabled)
[email protected] (installed, disabled)
[email protected] (installed, enabled)
Database type
MongoDBDatabase version
v6.0.4 -
@Future yes you are right, this actually has been the case for a very long time. So, it is nothing new but I did not report this earlier since it resolves itself after a quick page refresh and it only -temporarily- affects admins.
However, if it does require fixing, my experience is that when an admin changes a user's profile picture, temporarily, the admin's profile picture appears to change as well, additionally, if online users are displayed on the page as another widget, their profile picture (if they do not use those default letter avatars with colors) also appear to change. However, everything is fixed and all profile pictures returns to normal after a page refresh...