-
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
[$250] Profile - Address section blinks when add new address #46348
Comments
Triggered auto assignment to @jliexpensify ( |
We think that this bug might be related to #vip-vsp |
@jliexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Hi, I am Taras from Margelo, an expert agency and I can work on this issue |
Job added to Upwork: https://www.upwork.com/jobs/~01065cf64bab14773d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
Sorry I missed this! Was assigned over my weekend. All yours @perunt! |
I believe this is a server-side error. After we add or update the address, we immediately write the data to Onyx. However, the server response does not include the address field, as initially we perform a SET operation that does not include the address field. "onyxData": [
{
"key": "private_personalDetails",
"onyxMethod": "set",
"value": {
"addressCity": "Independence",
"addressCountry": "US",
"addressState": "KS",
"addressStreet": "Quail Run",
"addressZip": "67301",
"addresses": [
{
"city": "Lakeside",
"country": "US",
"current": false,
"state": "CA",
"street": "Los Santos",
"type": "home",
"zip": "92040"
},
],
"avatarThumbnail": "",
"dob": "",
"legalFirstName": "",
"legalLastName": ""
}
},
{
"key": "private_personalDetails",
"onyxMethod": "merge",
"value": {
"address": {
"city": "Queens",
"country": "US",
"current": true,
"state": "NY",
"street": "Queensboro Plaza Station",
"type": "home",
"zip": "11101"
}
}
} As a workaround, we can add a check to prevent changes to the address when this field is undefined. Unfortunately, with this approach, the user will never know that the address was removed when changing other parameters in private details (unless they refresh the profile page). We are currently storing private personal data without the currentUserAccountID. Consequently, when login into another account, can potentially retrieve details from the previous user. |
I raised this question in an open-source channel this morning with all the findings, but I haven't received an answer yet.
It includes an address field, but it's not a relevant address. I receive string instead of object. Also, that string is predefined. It was the first test address I entered for this account, and it is newer changing |
@perunt |
I think it's a BE issue. @jliexpensify can you add an internal label so someone from the internal team can pick this issue and check the response body of API |
@hoangzinh, @jliexpensify, @perunt Huh... This is 4 days overdue. Who can take care of this? |
Not overdue |
@hoangzinh, @jliexpensify, @perunt Still overdue 6 days?! Let's take care of this! |
Triggered auto assignment to @marcaaron ( |
Based on @perunt this requires backend fix and I think this blinking can be considered as NewDotQuality bug, although I am not sure which category exactly would this fit in, probably LOW performance. However, looking at the video of the bug, I think its super minor and it we might be good to close. I will defer to @marcaaron though |
I'm not sure I fully understand the comments that have been left here yet so far, but I would suspect the changes in this PR might have something to do with it cc @arosiclair |
There are not any explicit places where we use an Onyx
The backend sending data in an unexpected format does not sound minor. But might be if we don't actually use the "address" field for anything. I can't really remember why we have both. But know it's come up before cc @Beamanator. |
Actually I can't repro this so I think it's been solved. Let's close. |
The response body of that API request looks normal. |
Ooh I'm glad this is working and that we're going to be storing onyx data as we have in the DB. I remember some annoying discussions about this when implementing private personal details in App, glad that's all getting updated :D |
Ah nice, glad this is resolved! 🎉 |
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: 9.0.13-1
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): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Address section Should not blink when add new address
Actual Result:
Address section blinks when add new address
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6554026_1722021381303.Recording__3612.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinhThe text was updated successfully, but these errors were encountered: