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

Web - Profile - Error message disappears if user refresh the page a couple times #17827

Closed
1 of 6 tasks
kbecciv opened this issue Apr 22, 2023 · 20 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Apr 22, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Go to Settings > Profile > Contact Method
  2. Press/click New contact method
  3. Fill the email with any email that is not the current login email
  4. Press/click Add
  5. Verify there is a red dot error at the Settings avatar icon (next to Search Icon)
  6. Refresh the Page a couple times

Expected Result:

Error message does not disappear if user refresh the page a couple times

Actual Result:

Error message disappears if user refresh the page a couple times

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • Windows / Chrome
  • MacOS / Desktop

Version Number: 1.3.4.0

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

Recording.2564.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016de59d5ef9345e8b
  • Upwork Job ID: 1653403419329634304
  • Last Price Increase: 2023-05-02
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 22, 2023
@MelvinBot
Copy link

Triggered auto assignment to @muttmuure (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@MelvinBot
Copy link

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@kbecciv kbecciv changed the title Web - Error message disappears if user refresh the page a couple times Web - Profile - Error message disappears if user refresh the page a couple times Apr 22, 2023
@melvin-bot melvin-bot bot added the Overdue label Apr 25, 2023
@muttmuure
Copy link
Contributor

Yes this seems like a bug we would need to fix, but I need to reproduce it

@melvin-bot melvin-bot bot removed the Overdue label Apr 25, 2023
@Pujan92
Copy link
Contributor

Pujan92 commented Apr 26, 2023

I think it is not a bug, bcoz that invalid contact method isn't added to the server yet. So on refresh we receive the fresh response from the server where that method is not available in the list and onyx updated accordingly.

@muttmuure
Copy link
Contributor

muttmuure commented Apr 28, 2023

Oh really? I would have thought that it's more helpful to the user to know that adding their contact method never actually worked, and they need to resolve the problem.

@bernhardoj
Copy link
Contributor

As @Pujan92 said, an invalid contact method won't be added to the server, which mean it only exists on the local device. When we refresh the page, we receive the list of the contact methods from server and it will override the list that exists on local device because we use SET operation of Onyx instead of MERGE.

image

So, if we want to keep the invalid contact method, we should change it from SET to MERGE, which should be done internally.

@melvin-bot melvin-bot bot added the Overdue label May 1, 2023
@muttmuure muttmuure added the Internal Requires API changes or must be handled by Expensify staff label May 2, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~016de59d5ef9345e8b

@MelvinBot
Copy link

Triggered auto assignment to Contributor Plus for review of internal employee PR - @rushatgabhane (Internal)

@muttmuure
Copy link
Contributor

Thanks for clarifying!

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 2, 2023
@muttmuure
Copy link
Contributor

needs an internal volunteer, I'm asking about this here: https://expensify.slack.com/archives/C01GTK53T8Q/p1683283094931539

@melvin-bot melvin-bot bot removed the Overdue label May 5, 2023
@muttmuure muttmuure reopened this May 5, 2023
@muttmuure muttmuure changed the title Web - Profile - Error message disappears if user refresh the page a couple times [Hold] Web - Profile - Error message disappears if user refresh the page a couple times May 5, 2023
@muttmuure muttmuure added the Weekly KSv2 label May 5, 2023
@muttmuure
Copy link
Contributor

Sorry I was out of office for a couple of weeks!

@melvin-bot melvin-bot bot removed the Overdue label Jun 2, 2023
@melvin-bot melvin-bot bot added the Overdue label Jun 12, 2023
@muttmuure muttmuure changed the title [Hold] Web - Profile - Error message disappears if user refresh the page a couple times Web - Profile - Error message disappears if user refresh the page a couple times Jun 13, 2023
@muttmuure
Copy link
Contributor

Taking off hold

@melvin-bot melvin-bot bot removed the Overdue label Jun 13, 2023
@muttmuure
Copy link
Contributor

@Beamanator would you like to take this one on? It's still reproducible

@Beamanator
Copy link
Contributor

It's on my list of polish tasks :D

@muttmuure muttmuure changed the title Web - Profile - Error message disappears if user refresh the page a couple times [Hold] Web - Profile - Error message disappears if user refresh the page a couple times Jun 19, 2023
@muttmuure
Copy link
Contributor

I will put it back on hold

@melvin-bot melvin-bot bot added the Overdue label Jun 27, 2023
@muttmuure
Copy link
Contributor

Not overdue

@muttmuure
Copy link
Contributor

Not deployed yet

@melvin-bot melvin-bot bot removed the Overdue label Jul 10, 2023
@muttmuure muttmuure changed the title [Hold] Web - Profile - Error message disappears if user refresh the page a couple times Web - Profile - Error message disappears if user refresh the page a couple times Jul 10, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 18, 2023
@muttmuure
Copy link
Contributor

Will check this tomorrow

@melvin-bot melvin-bot bot removed the Overdue label Jul 19, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 27, 2023
@muttmuure
Copy link
Contributor

Looks like this got merged!

@melvin-bot melvin-bot bot removed the Overdue label Aug 1, 2023
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. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants