Skip to content

[Due for payment 2026-05-26] [Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card #90848

Closed

Description

@lanitochka17

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.74-7
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: -
Email or phone of affected tester (no customers): sdsdjoijdoisnjodis@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:

  1. Go to staging.new.expensify.com
  2. Go to Account > Wallet.
  3. Click Import transactions.
  4. Click Card display name and enter name.
  5. Click Next.
  6. Upload a file.
  7. Map Date column.
  8. Click Import.
  9. Click on the imported card.
  10. Click Delete > Delete.

Expected Result:

RHP will not show not here page after deleting card.

Actual Result:

RHP shows not here page after deleting card.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7155312_1778866761271.10.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    on May 15, 2026
  2. melvin-bot commented on May 15, 2026

    @melvin-bot

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

  3. melvin-bot commented on May 15, 2026

    @melvin-bot

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

  4. github-actions commented on May 15, 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.
  5. MelvinBot commented on May 15, 2026

    @MelvinBot
    Contributor

    Proposal

    What is the root cause of that problem?

    When deleting an imported card, confirmDeleteCard calls Navigation.goBack() without a target route, then immediately calls deletePersonalCard(...). The deletePersonalCard action optimistically sets the card to null in Onyx via CARD_LIST. Since goBack() without arguments just pops the navigation stack (and on wide screens the RHP stays mounted), PersonalCardDetailsPage re-renders before navigation completes, finds card is null, and renders <NotFoundPage />.

    Note the header back button on line 152 already uses the correct pattern: Navigation.goBack(ROUTES.SETTINGS_WALLET).

    What changes do you think we should make in order to solve the problem?

    Change line 116 from:

    Navigation.goBack();
    

    to:

    Navigation.goBack(ROUTES.SETTINGS_WALLET);
    

    This ensures navigation goes specifically to the Wallet page, properly dismissing the RHP before the optimistic update removes the card from Onyx.

    What alternative solutions did you explore? (Optional)

    An alternative would be to call deletePersonalCard first and reactively trigger navigation via a useEffect when the card disappears from Onyx. However, this adds unnecessary complexity when the simpler fix of providing an explicit back route (matching the existing header back button pattern on line 152) addresses the issue directly.

    Related issue

    #78893 describes a similar "not here page" symptom in the wallet RHP for bank accounts after admin removal — same navigation pattern issue.


    Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.

  6. added
    Reviewing
    and removed on May 18, 2026
  7. 1 remaining item

  8. roryabraham commented on May 18, 2026

    @roryabraham
    Contributor
  9. m-natarajan commented on May 18, 2026

    @m-natarajan

    Not repro, Chrome / v9.3.75-10

    REC-20260518235711.mp4
  10. removed
    DeployBlockerCash
    on May 19, 2026
  11. added
    Daily
    and removed
    Reviewing
    Hourly
    on May 19, 2026
  12. changed the title [-]Wallet - RHP shows not here page after deleting card[/-] [+][Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/+] on May 19, 2026
  13. melvin-bot commented on May 19, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  14. melvin-bot commented on May 19, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.75-14 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-05-26. 🎊

  15. melvin-bot commented on May 19, 2026

    @melvin-bot

    @roryabraham The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  16. changed the title [-][Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/-] [+][Due for payment 2026-05-26] [Due for payment 2026-05-26] Wallet - RHP shows not here page after deleting card[/+] on May 19, 2026
  17. melvin-bot commented on May 19, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.77-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-05-26. 🎊

  18. melvin-bot commented on May 19, 2026

    @melvin-bot

    @roryabraham The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

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

Metadata

Metadata

Assignees

Labels

BugDailyEngineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions