Skip to content

[Due for Payment 2026-06-28]"Book travel" opens "You'll need to use your work email" page then quickly opens another page #82472

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.19-1
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://github.com/Expensify/Mobile-Expensify/pull/13835
Email or phone of affected tester (no customers): sjiondjsondjoisjsojdos@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: iPhone 15 Pro Max / iOS 26.2
App Component: Other

Action Performed:

  1. Launch Expensify app.
  2. Create a new Gmail account.
  3. Do not create workspace.
  4. Go to Account > Troubleshoot > Switch to Expensify Classic.
  5. On OD, open hamburger menu > Travel.
  6. Tap Book travel.
    BUG: App opens "You'll need to use your work email.." page then quickly opens Not here page.
  7. Close the page.
  8. Create a workspace.
  9. Go to Account > Troubleshoot > Switch to Expensify Classic.
  10. On OD, open hamburger menu > Travel.
  11. Tap Book travel.
    BUG: App opens "You'll need to use your work email.." page then quickly opens More feature page.

Expected Result:

In Step 6 and 11, after tapping Book travel, app will opens "You'll need to use your work email.." page.

Actual Result:

In Step 6, app opens "You'll need to use your work email.." page then quickly opens Not here page.
In Step 11, app opens "You'll need to use your work email.." page then quickly opens More feature page.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7077384_1771020176271.ScreenRecording_02-14-2026_05-56-26_1.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

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

    @melvin-bot

    Triggered auto assignment to @RachCHopkins (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.

  3. melvin-bot commented on Feb 13, 2026

    @melvin-bot

    Triggered auto assignment to @Valforte (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. melvin-bot commented on Feb 13, 2026

    @melvin-bot

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

  5. github-actions commented on Feb 13, 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.
  6. OSBotify commented on Feb 13, 2026

    @OSBotify
    Contributor

    🔍 Investigation Summary

    Classification: Frontend bug (Mobile-Expensify)
    Causing PR: Mobile-Expensify#13835 - "fix: Opening travel in OD does not opens ND experience" by @truph01 (High confidence)
    Related Issues: None

    Recommendation: REVERT

    The Mobile-Expensify PR should be reverted because it introduces navigation logic that passes policyID to the NewDot /travel route, but the NewDot MyTripsPage uses AccessOrNotFoundWrapper which redirects users when:

    • No valid workspace exists → shows NotFoundPage
    • Travel feature is disabled for that workspace → navigates to More Features page

    This causes the unwanted behavior described in the bug report.

    Labels: Keeping DeployBlockerCash (blocks App/mobile deploy). The DeployBlocker label should be removed as this is not a backend issue.

    📋 Detailed Analysis

    Evidence

    The Mobile-Expensify PR #13835 modified app/Controllers/SlidingMenuController.js to pass policyID as a query parameter when navigating from OldDot Travel to NewDot:

    // Before
    deeplink: API.getNewDotUrlFromPath('/travel'),
    
    // After  
    deeplink: API.getNewDotUrlFromPath('travel?policyID=' + activePolicyID),

    This PR merged on 2026-02-12 and is the only Mobile-Expensify PR in the current staging deploy (9.3.19-1).

    Verification

    The bug is reproducible only on staging (not production) and only affects mobile apps, which confirms it was introduced by a Mobile-Expensify change in this release.

    The affected NewDot page is /home/runner/_work/App/App/src/pages/Travel/MyTripsPage.tsx, which wraps content in AccessOrNotFoundWrapper. This component:

    • Shows NotFoundPage when policyID is invalid or user has no access
    • Navigates to More Features page when the travel feature is disabled for that policy

    Root Cause

    The Mobile-Expensify PR added policyID parameter without coordinating with NewDot to handle edge cases where:

    1. User has no workspace (creates account without workspace)
    2. User has workspace but travel feature is not enabled

    The AccessOrNotFoundWrapper in MyTripsPage.tsx (lines 190-201) automatically redirects when a feature is disabled, causing the "quickly opens another page" behavior described in the bug report.

  7. 47 remaining items

  8. melvin-bot commented on Jun 28, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  9. added
    Daily
    and removed
    Reviewing
    on Jun 28, 2026
  10. changed the title [-]"Book travel" opens "You'll need to use your work email" page then quickly opens another page[/-] [+][Due for Payment 2026-06-28]"Book travel" opens "You'll need to use your work email" page then quickly opens another page[/+] on Jun 28, 2026
  11. truph01 commented on Jun 29, 2026

    @truph01
    Contributor

    since the bug can be reproduced even without the changes introduced in that issue.
    @QichenZhu is there a link to a comment to confirm this?

    @mallenexpensify Link to comment #82472 (comment)

    cc @QichenZhu

  12. mallenexpensify commented on Jun 30, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor: @truph01 due $250 via NewDot
    Contributor+: @QichenZhu due $250 via NewDot

    $125 cuz it was a follow up PR.

    Additionally, I don’t believe this should be treated as a regression of the original #78875, since the bug can be reproduced even without the changes introduced in that issue.

    @QichenZhu @truph01 when stating the above, please post a test confirming the behaviour or link to something to confirm. Taking your word for it here.

  13. truph01 commented on Jul 1, 2026

    @truph01
    Contributor

    $125 cuz it was a follow-up PR.

    @stitesExpensify Initially, we assumed this was a follow-up issue because the reproduction steps were related to the flow introduced by my original PR.

    However, after investigating, we found that the root cause was not introduced by my original PR (https://github.com/Expensify/Mobile-Expensify/pull/13835), which only touched the Mobile-Expensify repository. The RCA is documented here: #82472 (comment).

    The fix for this bug was made in the App repository: #83663.

    Could you help confirm whether this bug isn't caused by 1st PR? If so, we shouldn't consider it as "Follow up", the payment should be $250 in this case.

  14. stitesExpensify commented on Jul 1, 2026

    @stitesExpensify
    Contributor

    Agreed. This should be $250 @mallenexpensify. Thank you for clarifying @truph01 !

  15. mallenexpensify commented on Jul 1, 2026

    @mallenexpensify
    Contributor

    @truph01 @QichenZhu paid, summary updated above to $250. Thx.

  16. trjExpensify commented on Jul 6, 2026

    @trjExpensify
    Contributor

    approved $250 for @QichenZhu

  17. garrettmknight commented on Jul 28, 2026

    @garrettmknight
    Contributor

    $250 approved for @truph01

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