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
[Due for payment] [$250] Chat - Infinite loading on member´s side, when removed from WS chat. #64627
Version Number: 9.1.69-2 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail: Exploratory Email or phone of affected tester (no customers):ibellicotest+1122@gmail.com Issue reported by: Applause Internal Team Device used: Motorola MotoG60 - Android 12 - Chrome (mWeb - Hybrid App) / Windows 10 - Chrome App Component: Chat Report View
Action Performed:
Prerequisite: Have two accounts opened on two different devices or environments.
Prerequisite 2: User A has at least one workspace created.
Open the Expensify app.
As User A open any workspace chat.
Tap on header and select "Members"
Invite User B as member,
Return to chat and create a manual expense.
As User B open the workspace chat.
Open the report of the just received expense.
As User A, remove User B from workspace chat.
As User B, tap on the back button on the top left corner to return to chat. (Device´s back button on Web)
Note that a page with infinite loading is displayed.
Expected Result:
When member of a workspace is removed from chat while on expense report, navigating back should redirect to inbox.
Actual Result:
Infinite loading is displayed, when a member of a workspace navigates back from expense report to chat after being removed as member.
Please re-state the problem that we are trying to solve in this issue.
Chat - Infinite loading on member´s side, when removed from WS chat.
What is the root cause of that problem?
When User B is removed from the workspace members list, they lose access to the report specified by the reportID stored in the backTo param. Clicking the back button redirects User B to the backTo URL, which results in a "Not Found" error because they no longer have access to the report.
What changes do you think we should make in order to solve the problem?
To solve this, we can store the report ID in a ref. then in useFocusEffect, check if report?.reportID already exists in this page and does not exist now. So it means this user got removed from the workspace they already have access to. So, redirect back to the inbox.
changed the title [-][Held on #80306] [BACK BUTTON] [$250] Chat - Infinite loading on member´s side, when removed from WS chat.[/-][+][Due for payment] [$250] Chat - Infinite loading on member´s side, when removed from WS chat.[/+]on Apr 7, 2026
Activity
melvin-bot commentedon Jun 20, 2025
Triggered auto assignment to @Christinadobrzyn (
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.melvin-bot commentedon Jun 23, 2025
@Christinadobrzyn Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Christinadobrzyn commentedon Jun 23, 2025
not sure if we want to do this one... asking
Christinadobrzyn commentedon Jun 24, 2025
Getting more info from QA about the affected platforms before asking the team - https://expensify.slack.com/archives/C9YU7BX5M/p1750795137912069
IuliiaHerets commentedon Jun 25, 2025
@Christinadobrzyn Issue still repro iOS 18.5 / App version 9.1.71-1
Repro_64627.mp4
nabi-ebrahimi commentedon Jun 27, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Chat - Infinite loading on member´s side, when removed from WS chat.
What is the root cause of that problem?
When
User Bis removed from the workspace members list, they lose access to the report specified by thereportIDstored in thebackToparam. Clicking the back button redirectsUser Bto thebackToURL, which results in a "Not Found" error because they no longer have access to the report.What changes do you think we should make in order to solve the problem?
To solve this, we can store the report ID in a ref. then in
useFocusEffect, check if report?.reportID already exists in this page and does not exist now. So it means this user got removed from the workspace they already have access to. So, redirect back to the inbox.Update
src/pages/home/ReportScreen.tsxWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
Screen.Recording.1404-04-06.at.2.36.16.PM.mov
melvin-bot commentedon Jun 30, 2025
@Christinadobrzyn Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Jun 30, 2025
@Christinadobrzyn Eep! 4 days overdue now. Issues have feelings too...
141 remaining items
amyevans commentedon Apr 7, 2026
I believe Lauren is just getting back from OOO so appreciate your patience but I've reopened in the meantime!
[-][Held on #80306] [BACK BUTTON] [$250] Chat - Infinite loading on member´s side, when removed from WS chat.[/-][+][Due for payment] [$250] Chat - Infinite loading on member´s side, when removed from WS chat.[/+]laurenreidexpensify commentedon Apr 8, 2026
@nabi-ebrahimi pls apply to https://www.upwork.com/jobs/~022041804552010628529
nabi-ebrahimi commentedon Apr 8, 2026
@laurenreidexpensify , I've applied. thanks.
melvin-bot commentedon Apr 13, 2026
@laurenreidexpensify Eep! 4 days overdue now. Issues have feelings too...
laurenreidexpensify commentedon Apr 15, 2026
@nabi-ebrahimi apologies I was offline for a few days - contract sent in Upwork
laurenreidexpensify commentedon Apr 15, 2026
Payment Summary
@nabi-ebrahimi paid $250 in Upwork
JmillsExpensify commentedon Apr 16, 2026
Payment summary above is accurate.