-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-04-15] [$500] Start chat - App shows data from User A after logging out of User A and logging in with User B #39710
Comments
Triggered auto assignment to @puneetlath ( |
We think that this bug might be related to #wave-collect - Release 1 |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@mountiny Logged in with old account with recent contacts, then logged out and sign up with a completely new account. The contact list with old account still shows up for new account. bandicam.2024-04-05.22-12-52-747.mp4 |
@TMisiukiewicz Could it be that we do not clear the cache for the search options in this case? |
Job added to Upwork: https://www.upwork.com/jobs/~01e820a2af95c4423e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @paultsimura ( |
Referring to this PR #38207 |
Upwork job price has been updated to $500 |
Increasing to $500 since its a blocker, author of the PR is out for the day and its quite annoying bug as you could potentially see someone else's contacts cached |
This comment was marked as outdated.
This comment was marked as outdated.
ProposalPlease re-state the problem that we are trying to solve in this issue.The report data is from another user is still cached even after logging out which makes it possible for other user that log in will see it. What is the root cause of that problem?We have App/src/components/OptionListContextProvider.tsx Lines 39 to 112 in b10893a
The provider is put in App.tsx which means the state (cache) is persisted even after we log out. Line 86 in b10893a
What changes do you think we should make in order to solve the problem?Move the provider What alternative solutions did you explore? (Optional)Use
|
@bernhardoj your proposal makes sense to me, let's try to implement it quickly! |
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@jasperhuangg can you confirm if we are going with my main solution? (moving the provider) |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.60-13 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-04-15. 🎊 For reference, here are some details about the assignees on this issue:
|
FYI this appeared on today's checklist as we forgot to remove the blocker label (I think I forgot to do that too when I marked it off this morning) |
Current assignee @puneetlath is eligible for the Bug assigner, not assigning anyone new. |
Thanks @kbecciv it was repro because the desktop build failed before @puneetlath this will be ready for payment $500 to @bernhardoj and to @paultsimura |
Sorry, to clarify, you're saying I should pay them now? Or on April 15th? |
@puneetlath, @paultsimura, @bernhardoj Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
On April 15th. Not overdue, Melv. |
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
All paid. Thanks everyone! |
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: 1.4.60-8
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: Exploratory around https://expensify.testrail.io/index.php?/tests/view/4476067
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
When user logs out and logs in with another account, the Recent section list will follow the data from the logged-in account.
Actual Result:
When user logs out from Account A and logs in with Account B, the Recent section list still shows the data from Account A.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6439021_1712310651825.20240405_174248.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @puneetlathThe text was updated successfully, but these errors were encountered: