Prevent crash when connecting to QuickBooks Online#43451
Conversation
|
Super small PR, sending it to Aldo directly because he has context. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
Thanks for fixing that, looks good to me |
|
Should we 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. |
Last time we had some QBO-related issues, we usually decided not to because it was still under a beta. Not sure the beta has been opened to everyone yet, but if not it's probably fine to wait for the next normal release. |
|
I checked with Tom and it is not behind a beta anymore |
|
All right I'll request a CP and ping you then |
Prevent crash when connecting to QuickBooks Online (cherry picked from commit 09cc7e3)
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 1.4.81-11 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.81-11 🚀
|
Details
At some point of the initial QBO sync flow, the
connections.quickbooksonlineobject inWorkspaceMoreFeaturesPagedoesn't have aconfig, so we can't just check.syncTaxon this possibly undefined key.I didn't test with Xero but added the same fix for good measure.
Fixed Issues
$ #43450
Tests / QA Steps
Offline tests
N/A - online flow
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
MacOS: Chrome / Safari
Screen.Recording.2024-06-10.at.7.01.32.PM.mov