-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.quickbooksonline
object inWorkspaceMoreFeaturesPage
doesn't have aconfig
, so we can't just check.syncTax
on 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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
MacOS: Chrome / Safari
Screen.Recording.2024-06-10.at.7.01.32.PM.mov