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
Expense- "Select all" checkbox is still marked after deleting all the expenses in offline mode #64062
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Version Number: 9.1.65-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers):sdjpjnsdioisjdojsdi@gmail.com Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Go to workspace chat
Submit two expenses to the workspace chat
Go to expense report
Go offline
Select all expenses via checkbox
Click More > Delete
Delete the expenses
Expected Result:
"Select all" checkbox will not be marked after deleting all the expenses in offline mode
Actual Result:
"Select all" checkbox is still marked after deleting all the expenses in offline mode
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6857978_1749728979005.20250612_194609.mp4
🚨 Edited by proposal-police: This proposal was edited at 2025-06-12 12:15:26 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Expense- "Select all" checkbox is still marked after deleting all the expenses in offline mode
What is the root cause of that problem?
We don't check if there is selected transaction here so in this case both selectedTransactionIDs.length and transactionsWithoutPendingDelete are zero and the check box is marked
changed the title [-]Expense- "Select all" checkbox is still marked after deleting all the expenses in offline mode[/-][+][$250] Expense- "Select all" checkbox is still marked after deleting all the expenses in offline mode[/+]on Jun 13, 2025
BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Activity
FitseTLT commentedon Jun 12, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-06-12 12:15:26 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Expense- "Select all" checkbox is still marked after deleting all the expenses in offline mode
What is the root cause of that problem?
We don't check if there is selected transaction here so in this case both selectedTransactionIDs.length and transactionsWithoutPendingDelete are zero and the check box is marked
App/src/components/MoneyRequestReportView/MoneyRequestReportTransactionList.tsx
Line 262 in b12fc0f
What changes do you think we should make in order to solve the problem?
We need to check for selelctedTransactions length
or check for transactionsWithoutPendingDelete.length
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N / A
What alternative solutions did you explore? (Optional)
CortneyOfstad commentedon Jun 13, 2025
Was able to recreate so getting eyes on this 👍
[-]Expense- "Select all" checkbox is still marked after deleting all the expenses in offline mode[/-][+][$250] Expense- "Select all" checkbox is still marked after deleting all the expenses in offline mode[/+]melvin-bot commentedon Jun 13, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021933611359058890264
melvin-bot commentedon Jun 13, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (
External)CortneyOfstad commentedon Jun 13, 2025
Hey @jjcoffee! There is a proposal above for you to review when you have a chance — thanks!
jjcoffee commentedon Jun 16, 2025
I guess this is technically a regression from #63233 cc @jmusial @hoangzinh @allgandalf
Otherwise we can go ahead with @FitseTLT's proposal.
🎀👀🎀 C+ reviewed
12 remaining items
CortneyOfstad commentedon Jun 23, 2025
PR to fix is here
jjcoffee commentedon Jun 24, 2025
Can I be unassigned here as this is being handled as a regression fix?
allgandalf commentedon Jun 25, 2025
Hopeful to get the PR merged this week
CortneyOfstad commentedon Jul 1, 2025
PR merged to staging 18 hours ago 🎉
allgandalf commentedon Jul 4, 2025
Good to close! no checklist here since this was a regression
CortneyOfstad commentedon Jul 8, 2025
Thanks @allgandalf!