Repository navigation
Expense - Error shows up in self DM after submitting expense to self DM - #91577
Conversation
|
@ChavdaSachin Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bec4a188f1
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
trjExpensify
left a comment
There was a problem hiding this comment.
Bug fix for in-line push input editing. 👍
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppScreen.Recording.2026-05-28.at.1.33.34.AM.moviOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-05-28.at.1.24.57.AM.movScreen.Recording.2026-05-28.at.1.28.57.AM.mov |
|
Bug: It seems to be creating a normal expense instead of split because even split flows are now going to Screen.Recording.2026-05-28.at.1.37.40.AM.mov |
|
@ShridharGoel can you please check again? |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @JS00001 has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.3.91-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: No documentation changes required I reviewed the changes in this PR and confirmed that no updates are needed to Expensify's help site files under What this PR changes: It's a bug fix for the self-DM expense creation flow (gated behind the Why no docs change is needed:
@dukenv0307, please confirm you agree that no help site changes are required here. If you'd prefer a docs update regardless, reply and I'll open a draft PR. |
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.3.94-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: no documentation changes required. I reviewed the change in this PR against the help site articles under Conclusion: This is an internal bug fix and does not require any help site updates. Why no docs changes are neededWhat the PR does: It fixes issue #90665 — "Error shows up in self DM after submitting expense to self DM". The only file touched is Why this is not documentable:
Since the change only fixes incorrect internal handling and produces no observable difference from what the product is already supposed to do, there is nothing to add or correct in the help site. @dukenv0307 — no help site PR was created because this fix doesn't change any documented, user-facing behavior. Let me know if you believe a specific article should still be updated and I'll take another look. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.3.94-0 🚀
|
| }, [transaction?.transactionID, transaction?.participants, defaultParticipants, isNewManualExpenseFlowEnabled, isManualRequest]); | ||
| if (defaultParticipants.at(0)?.isSelfDM) { | ||
| setTransactionReport(transaction.transactionID, {reportID: CONST.REPORT.UNREPORTED_REPORT_ID}, true); | ||
| navigation.setParams({iouType: CONST.IOU.TYPE.TRACK}); |
There was a problem hiding this comment.
Coming from #100243
The Manual and Scan tabs share this route, so when the default is the self DM, this setParams switches iouType to track for Scan too. Scan only accepted create, so uploading a receipt opened the recipient list
Explanation of Change
Fixed Issues
$ #90665
PROPOSAL:
Tests
Run Onyx.merge('betas', ['newManualExpenseFlow']); in console.
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-05-25.at.14.45.09.mov