Fix app crash with optional chaining#41293
Conversation
|
@ishpaul777 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] |
|
@ishpaul777 gentle bump |
|
I will complete this today : ) |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-09.at.12.04.06.AM.movAndroid: mWeb ChromeScreen.Recording.2024-05-08.at.11.21.38.PM.moviOS: NativeScreen.Recording.2024-05-05.at.12.02.23.AM.moviOS: mWeb SafariScreen.Recording.2024-05-05.at.12.26.46.AM.movMacOS: Chrome / SafariScreen.Recording.2024-05-04.at.11.mp4MacOS: DesktopScreen.Recording.2024-05-08.at.11.58.18.PM.mov |
This comment was marked as resolved.
This comment was marked as resolved.
|
@Nodebrute can you please merge main |
|
Bug: When using a random distance rate id in url it shows unusable page while it should show a not found page Screen.Recording.2024-05-05.at.12.33.57.AM.mov |
|
@ishpaul777 Do you think we should fix this here? I feel it's unrelated to this ticket. |
Done. |
|
Hey @Nodebrute How much effort do you think this would take to have not-found, i believe it should be straightforward isn't it? if we deliver it as it is, it will defintly caught while QA and might be considered a regression so if you think its straightforward lets fix it within the scope of this PR |
|
@ishpaul777 Apologies, I've fixed the issue on two pages |
|
This bug is repro on main also so I dont think this is within the scope of this issue but when i go to random policy id on any WS setting page there is weird error which has a different root cause (this started happening recently) Screen.Recording.2024-05-09.at.12.14.41.AM.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/AndrewGable in version: 1.4.74-0 🚀
|
|
Bug #40481 is still reproducible in web mweb and android |
|
@Nodebrute Can you please take a look ^, its weird becuase it was working fine on dev |
|
I think we can just implement this as a follow up issue to the original issue |
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.74-6 🚀
|
Details
Fixed Issues
$ #40481
PROPOSAL: #40481 (comment)
Tests
Test 1
Test 2
Test 3
Offline tests
Same as above
QA Steps
Test 1
Test 2
Test 3
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
Android: mWeb Chrome
Screen.Recording.2024-04-30.at.9.40.35.AM.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-04-30.at.9.28.01.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-30.at.9.01.37.AM.mov
Screen.Recording.2024-04-30.at.9.01.06.AM.mov
MacOS: Desktop