[CP Staging] Expense - App crashes after splitting expense#69765
[CP Staging] Expense - App crashes after splitting expense#69765arosiclair merged 1 commit intoExpensify:mainfrom
Conversation
|
@ahmedGaber93 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp20250903184407370.mp4Android: mWeb Chrome20250903182306197.mp4iOS: HybridAppfailed to build the app locally. iOS: mWeb Safari20250903181644943.mp4MacOS: Chrome / Safari20250903161532910.mp420250903170252765.mp4Untitled.mp4MacOS: Desktop20250903184551808.mp4 |
|
@WojtekBoman Still crash on offline mode 20250903161743486.mp4the crash details 20250903162334640.mp4 |
59b4c2c to
97db9c7
Compare
|
Another crash
20250903170908237.mp4 |
97db9c7 to
deffc07
Compare
deffc07 to
1f248bd
Compare
|
@ahmedGaber93 @WojtekBoman should the performance tests failing here hold us back frmo merging? |
arosiclair
left a comment
There was a problem hiding this comment.
Perf tests are broken for everyone. Let's merge.
|
@carlosmiceli please request a CP 🙏 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…e-crash [CP Staging] Expense - App crashes after splitting expense (cherry picked from commit 83a172d) (cherry-picked to staging by arosiclair)
|
🚀 Cherry-picked to staging by https://github.com/arosiclair in version: 9.2.1-9 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/arosiclair in version: 9.2.1-10 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.1-20 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/arosiclair in version: 9.2.2-0 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.2-8 🚀
|
Explanation of Change
This PR fixes #69696. It handles the case when
searchResultsis equal to{data: {}}and we try to readsearchResults?.search.type. The optional chaining usage here fixes the problem.The app behaviour after being fixed:
Screen.Recording.2025-09-03.at.13.21.51.mov
Fixed Issues
$ #69696
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
MacOS: Desktop