Skip to content

[Due for payment 2026-02-23] Per diem - Navigating back three times from confirm page opens 'Not Here' page #82267

Closed

Description

@mitarachim

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


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.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7075959_1770910448505.4.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @dylanexpensify

Activity

  1. added
    DeployBlockerCash
    on Feb 12, 2026
  2. added
    Daily
    Bug
    DeployBlocker
    on Feb 12, 2026
  3. melvin-bot commented on Feb 12, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #78109

  4. melvin-bot commented on Feb 12, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. melvin-bot commented on Feb 12, 2026

    @melvin-bot

    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.

  6. github-actions commented on Feb 12, 2026

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  7. OSBotify commented on Feb 12, 2026

    @OSBotify
    Contributor

    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 DeployBlockerCash label. The DeployBlocker label should be removed since this is not a backend issue.

    Detailed Analysis

    Evidence

    The bug occurs specifically when:

    1. Two or more workspaces have per diem rates enabled
    2. User navigates through: Workspace selection → Destination → Time → Subrate → Confirmation
    3. 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:

    Navigation.goBack(ROUTES.MONEY_REQUEST_STEP_SUBRATE.getRoute(action, iouType, initialTransactionID, reportID));

    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.

    Verification

    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.

  8. 28 remaining items

  9. dylanexpensify commented on Feb 20, 2026

    @dylanexpensify
    Contributor

    Payment coming up!

  10. abzokhattab commented on Feb 20, 2026

    @abzokhattab
    Contributor

    just a note on the summary #82267 (comment) .. i am being paid on new dot not upwork

  11. melvin-bot commented on Feb 23, 2026

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@dylanexpensify)

    • (if NewFeature) I have created a PR for any necessary HelpDot updates, or I confirmed no updates are necessary.
    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  12. dylanexpensify commented on Feb 24, 2026

    @dylanexpensify
    Contributor

    Payment summary:

    Contributor+: @parasharrajat $250 via NewDot
    Contributor+: @abzokhattab $250 via NewDot

    Please apply/request!

  13. twisterdotcom commented on Feb 24, 2026

    @twisterdotcom
    Contributor

    @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-4af3695dbfa4
  14. dylanexpensify commented on Feb 26, 2026

    @dylanexpensify
    Contributor

    @parasharrajat please complete checklist

  15. parasharrajat commented on Feb 26, 2026

    @parasharrajat
    Member

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [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:

    • self DM, 2 workspaces with per diems enabled and rates uploaded

    Test:

    1. Go to self DM.
    2. Click + > Create expense > Per diem.
    3. Select a workspace.
    4. Enter any details and reach confirm page.
    5. On confirm page, click RHP back button three times.
    6. Verify that you see destination page not the Not Found page

    Do we agree 👍 or 👎

  16. parasharrajat commented on Mar 19, 2026

    @parasharrajat
    Member

    Payment requested as per #82267 (comment)

  17. twisterdotcom commented on Mar 23, 2026

    @twisterdotcom
    Contributor

    Confirming Payment Summary. @parasharrajat paid via New Expensify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions