-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[CP Staging] Fix crash when tax rate is deleted #39707
Conversation
@rayane-djouah 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] |
@MonilBhavsar can you merge main please |
Done! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-04-05.at.6.37.50.PM.moviOS: mWeb SafariScreen.Recording.2024-04-05.at.6.23.11.PM.movMacOS: Chrome / SafariScreen.Recording.2024-04-05.at.6.16.38.PM.movMacOS: DesktopScreen.Recording.2024-04-05.at.6.30.21.PM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@lakchote @shubham1206agra added a checklist already |
Requesting CP! |
…eted [CP Staging] Fix crash when tax rate is deleted (cherry picked from commit 09bcd1e)
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.4.60-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/Julesssss in version: 1.4.60-13 🚀
|
Details
Safely access properties
name
andvalue
, if tax item is deleted, and prevent crashFixed Issues
$ #39695
$ #39691
PROPOSAL:
Tests
Same as tests
Offline tests
None
QA Steps
Precondition:
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
Android: Native
See MacOS: Chrome / SafariAndroid: mWeb Chrome
See MacOS: Chrome / SafariiOS: Native
See MacOS: Chrome / SafariiOS: mWeb Safari
See MacOS: Chrome / SafariMacOS: Chrome / Safari
https://drive.google.com/file/d/1i0RdtKFX30pmQRIAWVFXTL9lyC_QbULr/view?usp=sharingMacOS: Desktop
See MacOS: Chrome / Safari