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
Workspaces - Unable to remove the RBR on archived Workspace #103496
Version Number: v9.5.5-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:#98029 Email or phone of affected tester (no customers):applausetester+vq+0810@applause.expensifail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Windows 10/Chrome App Component: Workspace Settings
Action Performed:
Precondition: User the Expensifail account as an admin of a Workspace
Open the New Dot app
Navigate to the Workspace - Accounting
Connect to Sage Intacct - Enter incorrect credentials (to get an RBR )
Go to Workspace - Three dots - Archived Workspace - Confirm
Expected Result:
RBR remove after the Workspace is archived
Actual Result:
RBR remains on the Workspace tab but can't remove it
Root cause: Archiving keeps the policy in Onyx, including its Sage Intacct sync error. The Workspaces tab red dot checks every policy with an id and never skips archived ones (src/hooks/usePoliciesWithCardFeedErrors.ts:15). The workspace list hides archived policies, so you can't reach the error to clear it.
Recommended fix: Filter archived policies out of cleanPolicies with the existing isArchivedPolicy helper (src/libs/PolicyUtils/index.ts:111). I confirmed this code is unchanged on current main.
Next Steps: Reply on the open issue above with @MelvinBot implement this to create a draft PR.
Activity
applause-bot commentedon Oct 8, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/55ed523af17ee43373843353041fcd78df322f54c0a2eef53251e44cc4734e86
lanitochka17 commentedon Oct 8, 2026
closed as dupe #103492
MelvinBot commentedon Oct 8, 2026
This issue duplicates [$175] Workspaces - Unable to remove the RBR on archived Workspace (open). That issue already has a full proposal, so please continue there.
Root cause: Archiving keeps the policy in Onyx, including its Sage Intacct sync error. The Workspaces tab red dot checks every policy with an
idand never skips archived ones (src/hooks/usePoliciesWithCardFeedErrors.ts:15). The workspace list hides archived policies, so you can't reach the error to clear it.Recommended fix: Filter archived policies out of
cleanPolicieswith the existingisArchivedPolicyhelper (src/libs/PolicyUtils/index.ts:111). I confirmed this code is unchanged on currentmain.Next Steps: Reply on the open issue above with
@MelvinBot implement thisto create a draft PR.view run