Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.26k stars 2.69k forks source link

Contact methods - 'expensify.cash-25ffc67..." is created after logging back into the account #45266

Closed izarutskaya closed 4 weeks ago

izarutskaya commented 1 month ago

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.0.6-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): dave0123seife@gmail.com Logs: https://stackoverflow.com/c/expensify/questions/4856 Issue reported by: Applause-Internal team

Action Performed:

  1. Logout from any account
  2. Log back in
  3. Go to account settings > Profile > Contact methods

Expected Result:

Ony added contact methods are displayed in contact methods

Actual Result:

Ony added contact methods are displayed in contact methods

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Screenshots/Videos

https://github.com/Expensify/App/assets/115492554/0827306f-b014-4d0d-a17d-547535b921d6

View all open jobs on GitHub

melvin-bot[bot] commented 1 month ago

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

dominictb commented 1 month ago

Proposal

Please re-state the problem that we are trying to solve in this issue.

What is the root cause of that problem?

What alternative solutions did you explore? (Optional)

dominictb commented 1 month ago

Proposal updated

rayane-djouah commented 1 month ago

Happening to my account too

Julesssss commented 1 month ago

Hey @RachCHopkins. tagging you here as you pointed out that this is occurring for real customers.

puneetlath commented 1 month ago

Going to raise in Slack to find out what the expected behavior is here.

puneetlath commented 1 month ago

@nkuoch I see you added getting the loginlist in Auth a couple weeks ago here.

It seems like that is most likely the cause of this issue as it seems like Login::getList is including these expensify.cash- logins. So we probably need to either filter them out after getting the results or write a different query that doesn't get these. What do you think?

melvin-bot[bot] commented 4 weeks ago

@nkuoch Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

puneetlath commented 4 weeks ago

Looks like the fix for this was merged and deployed. And it looks like it's working correctly. Thanks @nkuoch!

image