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 2025-12-17] [$250] Category - Infinite loading on Category tab #75612
Version Number: v9.2.61-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack:#74927 Email or phone of affected tester (no customers): - Issue reported by: Applause Internal Team Device used: Android 12 / Chrome App Component: Other
Action Performed:
Precondition:
Have two non-default workspaces and no default workspace
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: N/A. I think it's a new case that we haven't covered before
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Have non-default workspaces
Have self DM with expense without category
Test:
Go to self DM
Open the expense without category
Press Category
On workspace selector page, select any workspace
Verify the category list is shown without infinite loading
Activity
melvin-bot commentedon Nov 19, 2025
Triggered auto assignment to @joekaufmanexpensify (
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.bernhardoj commentedon Nov 20, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Inifinite loading in category list page after selecting default workspace.
What is the root cause of that problem?
The loading will show when the
policyCategoriesis undefined.App/src/pages/iou/request/step/IOURequestStepCategory.tsx
Line 100 in bf35a10
We already have a logic to fetch the categories on mount.
App/src/pages/iou/request/step/IOURequestStepCategory.tsx
Lines 92 to 98 in bf35a10
App/src/pages/iou/request/step/IOURequestStepCategory.tsx
Lines 104 to 107 in bf35a10
But the
policyIDis undefined becausepolicyForMovingExpensesIDis undefined, so the API call isn't called.App/src/pages/iou/request/step/IOURequestStepCategory.tsx
Line 63 in bf35a10
We already set the default workspace ID here, but the data isn't available immediately.
App/src/pages/SetDefaultWorkspacePage.tsx
Lines 51 to 57 in bf35a10
What changes do you think we should make in order to solve the problem?
We can add
policyIDto the effect so it's called whenever the policyID becomes available.(or just add
fetchDataas the deps)joekaufmanexpensify commentedon Nov 20, 2025
Will triage tomorrow AM
joekaufmanexpensify commentedon Nov 21, 2025
Reproduced
[-]Category - Infinite loading on Category tab[/-][+][$250] Category - Infinite loading on Category tab[/+]melvin-bot commentedon Nov 21, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021991987935187197199
melvin-bot commentedon Nov 21, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (
External)27 remaining items
hoangzinh commentedon Dec 16, 2025
BugZero Checklist:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: N/A. I think it's a new case that we haven't covered before
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
joekaufmanexpensify commentedon Dec 16, 2025
Payment due tomorrow, could you finish up the checklist @hoangzinh
hoangzinh commentedon Dec 17, 2025
Sorry @joekaufmanexpensify. I just completed checklist
joekaufmanexpensify commentedon Dec 17, 2025
Awesome. I will handle payment today!
joekaufmanexpensify commentedon Dec 17, 2025
Regression issue: https://github.com/Expensify/Expensify/issues/579937
joekaufmanexpensify commentedon Dec 17, 2025
All set to pay!
joekaufmanexpensify commentedon Dec 17, 2025
Payment Summary
joekaufmanexpensify commentedon Dec 17, 2025
@bernhardoj @hoangzinh please request payment at your earliest convenience. Closing as this is otherwise all set!
bernhardoj commentedon Dec 18, 2025
Requested in ND.
garrettmknight commentedon Dec 29, 2025
$250 approved for @hoangzinh
garrettmknight commentedon Dec 29, 2025
$250 approved for @bernhardoj