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 2026-02-23] Per diem - Navigating back three times from confirm page opens 'Not Here' page #82267
Version Number: 9.3.18-0 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#78109 Email or phone of affected tester (no customers):sjoijsnonisnjidosd@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.2 / Chrome App Component: Money Requests
Action Performed:
Precondition:
Two workspaces have per diem rates.
1.Go to staging.new.expensify.com
2. Go to self DM.
3. Click + > Create expense > Per diem.
4. Select a workspace.
5. Enter any details and reach confirm page.
6. On confirm page, click RHP back button three times.
Expected Result:
RHP should return to the destination list after clicking the back button three times from the confirm page.
Actual Result:
The 'Not Here' page opens.
When the user clicks the back button on the 'Not Here' page, RHP reopens the subrate page instead of returning to the destination list.
👋 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.
Classification: Frontend bug Causing PR: #78109 - "Enable creating per diem expense from self dm" by @koko57 (High confidence) Related Issues: #78829
Recommendation: REVERT
PR #78109 introduces a navigation bug in the per diem creation flow when multiple workspaces with per diem are available. The hardcoded navigation to the SUBRATE step corrupts the navigation stack, causing the "Not Here" page to appear instead of properly navigating back through the flow.
Labels: This is a frontend bug - the causing PR is in the App repository and requires App code changes to fix. Keeping DeployBlockerCash label. The DeployBlocker label should be removed since this is not a backend issue.
Detailed Analysis
Evidence
The bug occurs specifically when:
Two or more workspaces have per diem rates enabled
User navigates through: Workspace selection → Destination → Time → Subrate → Confirmation
User clicks back button 3 times from confirmation page
Root Cause
In /home/runner/_work/App/App/src/pages/iou/request/step/IOURequestStepConfirmation.tsx at line 438, the navigation is hardcoded:
This hardcoded navigation does not account for the workspace selection step that exists when multiple workspaces have per diem enabled. The navigation stack becomes:
Expected flow:
Confirmation → (back) → Subrate
Subrate → (back) → Time
Time → (back) → Destination
Destination → (back) → Workspace Selection
Actual behavior:
The hardcoded goBack to SUBRATE causes the navigation stack to become corrupted, resulting in the "Not Here" page appearing when clicking back multiple times.
The bug is N/A in production since this is a new feature that does not exist in prod
Fix Approach
The confirmation page should use Navigation.goBack() without a hardcoded route for per diem requests, allowing React Navigation to properly handle the back stack. Alternatively, the code needs to detect whether the workspace selection step was in the flow and adjust the back navigation accordingly.
[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: Not needed
[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:
self DM, 2 workspaces with per diems enabled and rates uploaded
Test:
Go to self DM.
Click + > Create expense > Per diem.
Select a workspace.
Enter any details and reach confirm page.
On confirm page, click RHP back button three times.
Verify that you see destination page not the Not Found page
Activity
melvin-bot commentedon Feb 12, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #78109
melvin-bot commentedon Feb 12, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Feb 12, 2026
Triggered auto assignment to @jliexpensify (
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.github-actions commentedon Feb 12, 2026
👋 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:
OSBotify commentedon Feb 12, 2026
Investigation Summary
Classification: Frontend bug
Causing PR: #78109 - "Enable creating per diem expense from self dm" by @koko57 (High confidence)
Related Issues: #78829
Recommendation: REVERT
PR #78109 introduces a navigation bug in the per diem creation flow when multiple workspaces with per diem are available. The hardcoded navigation to the SUBRATE step corrupts the navigation stack, causing the "Not Here" page to appear instead of properly navigating back through the flow.
Labels: This is a frontend bug - the causing PR is in the App repository and requires App code changes to fix. Keeping
DeployBlockerCashlabel. TheDeployBlockerlabel should be removed since this is not a backend issue.Detailed Analysis
Evidence
The bug occurs specifically when:
Root Cause
In
/home/runner/_work/App/App/src/pages/iou/request/step/IOURequestStepConfirmation.tsxat line 438, the navigation is hardcoded:This hardcoded navigation does not account for the workspace selection step that exists when multiple workspaces have per diem enabled. The navigation stack becomes:
Expected flow:
Actual behavior:
The hardcoded goBack to SUBRATE causes the navigation stack to become corrupted, resulting in the "Not Here" page appearing when clicking back multiple times.
Verification
IOURequestStepConfirmation.tsxand adds the hardcoded navigation for per diem requestsIOURequestStepPerDiemWorkspace.tsxFix Approach
The confirmation page should use
Navigation.goBack()without a hardcoded route for per diem requests, allowing React Navigation to properly handle the back stack. Alternatively, the code needs to detect whether the workspace selection step was in the flow and adjust the back navigation accordingly.28 remaining items
dylanexpensify commentedon Feb 20, 2026
Payment coming up!
abzokhattab commentedon Feb 20, 2026
just a note on the summary #82267 (comment) .. i am being paid on new dot not upwork
melvin-bot commentedon Feb 23, 2026
Payment Summary
Upwork Job
BugZero Checklist (@dylanexpensify)
dylanexpensify commentedon Feb 24, 2026
Payment summary:
Contributor+: @parasharrajat $250 via NewDot
Contributor+: @abzokhattab $250 via NewDot
Please apply/request!
twisterdotcom commentedon Feb 24, 2026
@abzokhattab has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Zapier Logs
Run ID: 00040eee-366d-a304-4a8f-4af3695dbfa4dylanexpensify commentedon Feb 26, 2026
@parasharrajat please complete checklist
parasharrajat commentedon Feb 26, 2026
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[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: Enable creating per diem expense from self dm #78109
[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: Not needed
[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 👎
parasharrajat commentedon Mar 19, 2026
Payment requested as per #82267 (comment)
twisterdotcom commentedon Mar 23, 2026
Confirming Payment Summary. @parasharrajat paid via New Expensify