[CP Staging] Fix crash when tax rate is deleted#39707
Merged
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] |
Contributor
|
@MonilBhavsar can you merge main please |
Contributor
Author
|
Done! |
This was referenced Apr 5, 2024
Contributor
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 |
shubham1206agra
approved these changes
Apr 5, 2024
lakchote
approved these changes
Apr 5, 2024
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Contributor
|
@lakchote @shubham1206agra added a checklist already |
Contributor
Author
|
Requesting CP! |
OSBotify
pushed a commit
that referenced
this pull request
Apr 5, 2024
…eted [CP Staging] Fix crash when tax rate is deleted (cherry picked from commit 09bcd1e)
48 tasks
Contributor
|
🚀 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. |
6 tasks
Contributor
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Safely access properties
nameandvalue, 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 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
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