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

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

Closed
3 of 6 tasks
izarutskaya opened this issue Jul 11, 2024 · 9 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review

Comments

@izarutskaya
Copy link

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: v9.0.6-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
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?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6538782_1720692944075.Contact_method_Issue.mp4

View all open jobs on GitHub

@izarutskaya izarutskaya added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jul 11, 2024
Copy link

melvin-bot bot commented Jul 11, 2024

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
Copy link
Contributor

dominictb commented Jul 12, 2024

Proposal

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

  • Ony added contact methods are displayed in contact methods

What is the root cause of that problem?

What changes do you think we should make in order to solve the problem?

selector: (data) => {
            return Object.fromEntries(
                Object.entries(data).filter(
                    ([key, value]) => value.partnerName !== 'chat-expensify-com'
                )
            );
        },

What alternative solutions did you explore? (Optional)

  • In the main solution, I am using partnerName !== 'chat-expensify-com' to filter the login data. We can also use partnerID if this prop to filter.

@dominictb
Copy link
Contributor

Proposal updated

@rayane-djouah
Copy link
Contributor

Happening to my account too

@melvin-bot melvin-bot bot added the Overdue label Jul 15, 2024
@Julesssss
Copy link
Contributor

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

@puneetlath
Copy link
Contributor

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

@melvin-bot melvin-bot bot removed the Overdue label Jul 16, 2024
@puneetlath
Copy link
Contributor

puneetlath commented Jul 17, 2024

@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?

@nkuoch nkuoch assigned nkuoch and unassigned puneetlath Jul 17, 2024
@nkuoch nkuoch added Reviewing Has a PR in review Internal Requires API changes or must be handled by Expensify staff labels Jul 17, 2024
Copy link

melvin-bot bot commented Jul 24, 2024

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

@puneetlath
Copy link
Contributor

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

6 participants