-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] Contact Method - The profile avatar changes when the default contact email is updated #34815
Comments
Triggered auto assignment to @sakluger ( |
Job added to Upwork: https://www.upwork.com/jobs/~0139065cb9535c6083 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
This seems to be a BE issue. When the default contact method is updated the backend returns a new avatar: {
"key": "personalDetailsList",
"onyxMethod": "merge",
"value": {
"15912050": {
"accountID": 15912050,
"avatar": "https://d2k5nsl2zxldvw.cloudfront.net/images/avatars/default-avatar_18.png",
"displayName": "[email protected]",
"firstName": "",
"lastName": "",
"login": "[email protected]",
"payPalMeAddress": "",
"phoneNumber": "",
"pronouns": "",
"status": null,
"timezone": {
"automatic": true,
"selected": "America/New_York"
},
"validated": true
}
}
} vs: {
"key": "personalDetailsList",
"onyxMethod": "merge",
"value": {
"15912050": {
"accountID": 15912050,
"avatar": "https://d2k5nsl2zxldvw.cloudfront.net/images/avatars/default-avatar_12.png",
"displayName": "[email protected]",
"firstName": "",
"lastName": "",
"login": "[email protected]",
"payPalMeAddress": "",
"phoneNumber": "",
"pronouns": "",
"status": null,
"timezone": {
"automatic": true,
"selected": "America/New_York"
},
"validated": true
}
}
} The account ID remains the same but the avatar changes, likely because behind the scenes there are two separate accounts and the backend is failing to maintain the avatar fixed, similarly to how accountID is handled. |
Agree with @barros001 I have found out that if the case user does have an image it is not causing the change. And also there is one more bug if the user does have an image attached to the email and if the other email doesn't have any image. Removing the email with the image is not removing the image. It will be shown for other email as well |
📣 @cjoshi-zeals! 📣
|
Contributor details |
|
Contributor details |
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Yeah I agree with @barros001. This is arguably a regression from #32090 where we switched to using the avatar returned by the BE instead of generating it from hashing the accountID. We'd just need to change the BE to generate the avatar from the accountID. @sakluger can you apply the |
Current assignee @jjcoffee is eligible for the Internal assigner, not assigning anyone new. |
Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext, and if it gets enough 👍, then please find a volunteer. |
Thanks @barros001 and @jjcoffee. We aren't currently using the engineering auto-assigner, but I added to the #vip-vsb project board and will ask for a volunteer. |
I will try to open a PR to fix this today. |
Waiting for a deploy to put the last PR for review. |
Oh this can actually be closed 😄 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.28-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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The profile avatar should not change when the default contact email is updated
Actual Result:
The profile avatar changes when the default contact email is updated
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6347761_1705678905632.avatar.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: