Skip to content

[Due for payment 2025-08-15] [RCA #66790] Reports - App crash when employee send an expense to WS admin #67903

Closed

Description

@nlemma

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: v9.1.89-1
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: NA
Email or phone of affected tester (no customers): testpayment935@gmail.com
Issue reported by: Applause Internal Team
Device used: Windows 10 /Chrome
App Component: Other

Action Performed:

Precondition: Admin and employee have a validated new account

  1. Navigate to staging.new.expensify.com
  2. Admin - Create a WS and invite Employee account as a member
  3. Admin- Navigate workflow and add bank account
  4. Once completing the BA flow close the RHN and stay in workflow page
  5. Employee - Create an expense in the Admin WS

Expected Result:

The Admin account receive the expense without any crash.

Actual Result:

Admin account crush when employee create an expense

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6908265_1754391313731.bandicam_2025-08-05_13-41-36-516.mp4

Bug6908265_1754391313735!Crash_log.txt

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @flaviadefaria

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    on Aug 5, 2025
  2. github-actions commented on Aug 5, 2025

    @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.
  3. melvin-bot commented on Aug 5, 2025

    @melvin-bot

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

  4. melvin-bot commented on Aug 5, 2025

    @melvin-bot

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

  5. melvin-bot commented on Aug 5, 2025

    @melvin-bot

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

  6. cead22 commented on Aug 5, 2025

    @cead22
    Contributor
    react-dom-client.production.js:5184 TypeError: Cannot read properties of undefined (reading 'slice')
        at getReportNameInternal (ReportUtils.ts:5175:55)
        at getReportName (ReportUtils.ts:5054:12)
        at createOption (OptionsListUtils.ts:993:156)
        at processReport (OptionsListUtils.ts:1250:16)
        at OptionsListUtils.ts:1261:52
        at Array.forEach (<anonymous>)
        at createOptionList (OptionsListUtils.ts:1260:32)
        at OptionListContextProvider.tsx:221:43
        at commitHookEffectListMount (react-dom-client.production.js:7485:24)
        at commitPassiveMountOnFiber (react-dom-client.production.js:8940:23)
    defaultOnCaughtError @ react-dom-client.production.js:5184
    ReportUtils.ts:5175 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'slice')
        at getReportNameInternal (ReportUtils.ts:5175:55)
        at generateReportName (ReportUtils.ts:5033:12)
        at reportAttributes.ts:150:29
        at Array.reduce (<anonymous>)
        at compute (reportAttributes.ts:121:48)
        at recomputeDerivedValue (index.ts:85:41)
        at callback (index.ts:102:29)
        at OnyxConnectionManager.js:88:17
        at Map.forEach (<anonymous>)
        at Object.fireCallbacks (OnyxConnectionManager.js:86:86)
    
  7. 5 remaining items

  8. added
    ReviewingHas a PR in review
    and removed on Aug 5, 2025
  9. jasperhuangg commented on Aug 6, 2025

    @jasperhuangg
    Contributor

    Asking for retest here

  10. IuliiaHerets commented on Aug 6, 2025

    @IuliiaHerets

    @jasperhuangg Issue is not reproducible on the latest build 9.1.89-21
    Windows10/Chrome

    Recording.3548.mp4
  11. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed on Aug 8, 2025
  12. changed the title [-][RCA #66790] Reports - App crash when employee send an expense to WS admin[/-] [+][Due for payment 2025-08-15] [RCA #66790] Reports - App crash when employee send an expense to WS admin[/+] on Aug 8, 2025
  13. melvin-bot commented on Aug 8, 2025

    @melvin-bot

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

  14. melvin-bot commented on Aug 8, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.90-11 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 2025-08-15. 🎊

  15. melvin-bot commented on Aug 8, 2025

    @melvin-bot

    @cead22 / @grgia @flaviadefaria 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

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions