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-05-28] NetSuite Travel invoicing export crashes when opening Journal entries posting preference menu #91023
When the user opens the "Journal entries posting preference" menu under a NetSuite workspace's Travel invoicing export settings, New Expensify crashes and renders the "Uh-oh, something went wrong!" fallback screen instead of showing the selection list.
Reproduction Steps
Reproduces on both staging and dev.
Connect a workspace to NetSuite (NetSuite must be the active connection).
Go to Workspace settings → Accounting → NetSuite → Export → Travel invoicing.
Direct URL: /workspaces/<policyID>/accounting/netsuite/export/travel-invoicing
Tap Journal entries posting preference.
Expected behavior
A selection screen appears letting the admin pick between "Single entry for each expense" and the other posting preference values.
Actual behavior
The app renders the global error boundary ("Uh-oh, something went wrong!") with Refresh / Sign out buttons. The user must refresh to recover.
Solution
Add the missing import React from 'react'; statement at the top of src/pages/workspace/accounting/netsuite/export/NetSuiteTravelInvoicingJournalPostingPreferenceSelectPage.tsx. The file uses JSX, which compiles to React.createElement(...) under this project's classic JSX runtime, so React must be in scope at module level.
Extra context
Console error captured from the dev build:
ReferenceError: React is not defined
at NetSuiteTravelInvoicingJournalPostingPreferenceSelectPage (.../NetSuiteTravelInvoicingJournalPostingPreferenceSelectPage.tsx)
at react_stack_bottom_frame
at renderWithHooks
...
The file is the only .tsx in src/pages/workspace/accounting/netsuite/export/ without an import React line — every sibling (including the very similar NetSuiteTravelInvoicingPayableAccountSelectPage.tsx and DynamicNetSuiteExportExpensesJournalPostingPreferenceSelectPage.tsx) imports React explicitly.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.78-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
blimpich commentedon May 18, 2026
video reproducing issue. Also happens on staging
Screen.Recording.2026-05-18.at.3.42.37.PM.mov
[-]NetSuite Travel invoicing export crashes when opening Journal entries posting preference menu[/-][+][Due for payment 2026-05-28] NetSuite Travel invoicing export crashes when opening Journal entries posting preference menu[/+]melvin-bot commentedon May 21, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 21, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.78-1 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-28. 🎊
blimpich commentedon May 21, 2026
No one to pay for this one