You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[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
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:
Account A and B are under the same private domain, and they share the same list of contacts.
Account A and B have different set of Recent contacts in Start chat list.
Close and open incognito mode again for a fresh session.
Go to staging.new.expensify.com
Log in as Account A.
Go to FAB > Start chat > Chat.
Note that list of five contacts in Recent section.
Log out and log in as Account B.
Go to FAB > Start chat > Chat.
Note that Account B has the exact same list of five contacts in Recent section as Account A.
Close and open incognito mode.
Repeat Step 6 and 7 for Account B.
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?
👋 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:
Identify the pull request that introduced this issue and revert it.
@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.
changed the title [-]Start chat - App shows data from User A after logging out of User A and logging in with User B[/-][+][$250] Start chat - App shows data from User A after logging out of User A and logging in with User B[/+]on Apr 5, 2024
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
Determine if we should create a regression test for this bug: Yes
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal
Precondition:
Accounts A and B share the same list of contacts
Accounts A and B have different sets of "Recent" contacts in the "Start chat" list.
Test:
Log in as Account A
Go to FAB > Start chat > Chat
Note the list of five contacts in the "Recent" section
Log out and log in as Account B
Go to FAB > Start chat > Chat
Verify the "Recent" lists are different (unless they were indeed interacted with in the same order by both accounts A and B).
Activity
melvin-bot commentedon Apr 5, 2024
Triggered auto assignment to @puneetlath (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.kbecciv commentedon Apr 5, 2024
We think that this bug might be related to #wave-collect - Release 1
github-actions commentedon Apr 5, 2024
👋 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 commentedon Apr 5, 2024
I think this does not have to be a blocker
@kbecciv @kavimuru does the account B not know the recents accounts it shows?
kavimuru commentedon Apr 5, 2024
@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
mountiny commentedon Apr 5, 2024
@TMisiukiewicz Could it be that we do not clear the cache for the search options in this case?
[-]Start chat - App shows data from User A after logging out of User A and logging in with User B[/-][+][$250] Start chat - App shows data from User A after logging out of User A and logging in with User B[/+]melvin-bot commentedon Apr 5, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01e820a2af95c4423e
31 remaining items
melvin-bot commentedon Apr 8, 2024
Current assignee @puneetlath is eligible for the Bug assigner, not assigning anyone new.
mountiny commentedon Apr 8, 2024
Thanks @kbecciv it was repro because the desktop build failed before
@puneetlath this will be ready for payment $500 to @bernhardoj and to @paultsimura
puneetlath commentedon Apr 8, 2024
Sorry, to clarify, you're saying I should pay them now? Or on April 15th?
melvin-bot commentedon Apr 12, 2024
@puneetlath, @paultsimura, @bernhardoj Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
paultsimura commentedon Apr 13, 2024
On April 15th.
Not overdue, Melv.
paultsimura commentedon Apr 13, 2024
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
puneetlath commentedon Apr 15, 2024
All paid. Thanks everyone!