fix: Error shows up when submitting unreported card expense to user#89982
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
I'm waiting to account is imported card transaction to record the videos |
|
I have problem make app crash on native so unable to record video right now. I will add it later in tmr or the day after tmr |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
good for product
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp89982-android-hybrid-001.mp4Android: mWeb Chrome89982-mweb-chrome-001.mp4iOS: HybridApp89982-ios-hybrid-001.mp4iOS: mWeb Safari89982-mweb-safari-001.mp4MacOS: Chrome / Safari89982-mweb-chrome-001.mp4 |
rojiphil
left a comment
There was a problem hiding this comment.
Thanks @paulnjs for the PR.
@MonilBhavsar Changes LGTM.
All yours now. Thanks.
|
🚧 @MonilBhavsar 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! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 9.3.74-7 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR. The diff is a single-line bug fix in No help site changes are required. This is an internal UI behavior fix for an edge case. It doesn't alter any documented workflow, feature name, setting, or user-facing concept covered by the help site articles. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.74-7 🚀
|
|
Hi @paulnjs. The deleted card feed expenses are not moved to Self DM. Repro in PROD. Is this a new behavior? Or we missed some steps? cc @MonilBhavsar @joekaufmanexpensify @rojiphil 89982-Web.mp4 |
Hm, I am not aware that is an intentional change related to this PR. I just tested this on staging and deleting the report is moving them to unreported. Could you try again @IuliiaHerets ? |
|
Thanks for checking, Joe! 🙏 |
|
@joekaufmanexpensify The behavior is still the same on our side. 89982-Web-2.mp4 |
|
@IuliiaHerets in this scenario you're seeing, is the unreported transaction still visible in the spend page or just totally gone? |
|
@joekaufmanexpensify Once deleted, the transaction disappears everywhere in the app 89982-Web-3.mp4 |
|
@IuliiaHerets in your video there is only one expense on that report. If you delete a single expense report it deletes both the expense AND the report. Whereas, if you delete a multi-expense report, it should just delete the report and then unreport the expenses. I just tested again on staging with the mock bank account and it works fine for me. Could you please try again and confirm? 2026-05-19_17-02-01.mp4 |
|
@joekaufmanexpensify The precondition was not accurate. It should be: 'There is more than one imported card transaction.' 89982-Web-4.mp4 |
|
@paulnjs @rojiphil @MonilBhavsar can you look at the above? The actual bug from OP doesn't appear to be fixed when I test it either. I still see the option to submit the unreported expense to another individual, in addition to a workspace. |
|
We're discussing here https://expensify.slack.com/archives/C01GTK53T8Q/p1779455217144159 |
|
@rojiphil Thanks for your help on this. I was unavailable during this time yesterday. I will open the PR asap. |
Explanation of Change
Fixed Issues
$#88315
PROPOSAL:#88315 (comment)
Tests
Precondition:
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
android_web.mov
iOS: Native
iOS: mWeb Safari
ios_sfr.mov
MacOS: Chrome / Safari
web.mov