-
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
[$250] WS - App crashes when changing workspace ID to invalid ID while distance rate RHP is open #40481
Comments
Triggered auto assignment to @bfitzexpensify ( |
We think that this bug might be related to #wave-collect - Release 1 |
@bfitzexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when changing workspace ID to invalid ID while distance rate RHP is open What is the root cause of that problem?We need to improve our usage of optional chaining in this file, as currently, many values are left undefined PolicyDistanceRateDetailsPage.tsx What changes do you think we should make in order to solve the problem?We should do proper optional chaining in this file.
We should address and fix the issues present throughout the entirety of this file. What alternative solutions did you explore? (Optional) |
Regression from this PR #38060 ProposalPlease re-state the problem that we are trying to solve in this issue.WS - App crashes when changing workspace ID to invalid ID while distance rate RHP is open What is the root cause of that problem?The problem is due to the fact that during the creation of the PR, not all cases were taken into account As a result, we have cases when we try to get a value from What changes do you think we should make in order to solve the problem?To fix this issue we can check new components and add optional chains wherever needed In fact, looking at the new changes, this is not the only component that needs refactoring We have a similar situation on d9e986d#diff-c4dba2a501b3bb84d9f473b51674f7bcb32b5518cd80d1ca653bc56703560d79R43-R48 What alternative solutions did you explore? (Optional)NA |
Job added to Upwork: https://www.upwork.com/jobs/~012a487426fc875ae6 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
I see the same issue on Setting of Distance Rate Page ( crash instead NOT FOUND) |
📣 @minhbac333studyus! 📣
|
Proposal Response Root Cause Proposed Changes
Alternatives Explored Screen.Recording.2024-04-22.at.12.36.05.AM.mov |
Proposals ready for review @ishpaul777 |
Thanks for your proposals everyone, since all proposals suggests the same solution, i lean on choosing the first one, Proposal from @Nodebrute Looks good to me! lets find and fix this for all of the WS setting pages. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @AndrewGable, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Sorry Plus I mentioned PR where these changes came from |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
I chose the first proposal given the simplicity for the solution, i really appreciate that you go extra mile to find other places where issue is reproducible but thats the only thing differentiate you proposal that I didn't find enough to discard the first one, My evaluation could be wrong so i'll let @AndrewGable make final call on assignment 😄 |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Nodebrute 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
I'll raise a PR soon. |
@Nodebrute Can you please update when we can expect a PR to be ready for review 🧑💻 |
@ishpaul777 Sorry for the delay. I'm working on it, and it will be ready in a few hours. |
@ishpaul777 Hey, the PR is ready for review. |
Seems like there is one more instance of this: #41293 (comment) Can we add this as a follow up to this issue and make a new PR with the fix? Thanks! |
Hey @Nodebrute, Would you be able to raise a new PR? |
Hey @ishpaul777 do we have a regression? |
Sadly the issue was reintroduced by another PR |
We addressed the issue in #42502 PR |
@bfitzexpensify Hey, the payment is due here. Also, these are two separate issues. This was #42502 created to deal with a regression caused in this issue #41594 |
Gotcha - offers sent @Nodebrute @ishpaul777 |
Payments complete. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.63-0
Reproducible in staging?: y
Reproducible in production?: y
Issue found when executing PR: #36409
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Not found view renders
Actual Result:
App crashes
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6453708_1713450539309.bandicam_2024-04-18_17-21-36-157.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: