-
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
[HOLD for payment 2024-06-03] [$500] IOU - Creating IOU Distance offline with incomplete addresses results in incorrect error message #38213
Comments
Triggered auto assignment to @laurenreidexpensify ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @lakchote ( |
@lakchote 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. |
We think that this bug might be related to #wave-collect - Release 1 |
Production video bandicam.2024-03-13.12-56-20-421.mp4 |
Looks like a deploy blocker to me! |
I can't reproduce on dev (BE won't let me do it). Might be related to these changes |
It's a frontend issue, and as such I'm opening it to external contributions. |
Job added to Upwork: https://www.upwork.com/jobs/~01df4bc3e1ba142b9b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
@lakchote this is a deploy blocker. Since this is the end of your day, can we find an internal engineer to keep pushing this forward? |
I don't think this is a deploy blocker or a backend issue. If I use the addresses "SF" and "LA", then the backend is able to come up with a route that goes from San Francisco to Lousiana (which is feasible). So, I think those are valid addresses. When I use the addresses "fake" and "blah blah", the server returns an error Full API response
What I think needs to be fixed here is that the UI is not displaying the error that is returned from the server, and instead, it's displaying some generic error. I'm going to remove the deploy blocker label, and update the description of the issue. |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready |
@abdulrahuman5196 Could you give some feedback on my proposal?
@bernhardoj's solution will have the above problem (mentioned and solved in my proposal) |
@abdulrahuman5196 do you still have capacity for C+ on this one or can I reassign? |
Given the expectation change, your proposal seemed to be an extended fix of Bernhardoj's solution. That why went with the solution which came first. Regarding the error clearing issue, it is an extended fix of the core issue(showing proper error in this case) which would be mostly handled in PR state. |
@abdulrahuman5196 It's a bug in the same flow so I'm not sure why it's only considered an "extended fix", it's part of the final solution. So it could be said that the selected proposal only fixes a part of the issue (only shows the error correctly, but not able to clear the errors) and my proposal fixes it fully (shows the error correctly and able to clear the errors). Another way to think about this is, would we be fine for the error to show correctly but the user is unable to clear it? If yes, my solution is an "extended fix", if no, it's a "required fix" and should be factored in the proposal evaluation. @tgolen What do you think? |
I can understand and agree with both sides. Ultimately, I'd like to see the most complete fix (the right error message AND being able to clear it) and I'm less interested about who does it or how it gets done :D @tienifr If you'd like to open a new bug report for not being able to clear the error, I'd support just assigning it to you and have you fix it. Would that work? |
Hi @tienifr , to mention we are clearing the error in the PR raised. In the PR, the error is shown properly and cleared properly AFAIK. But basically the fix to clear the error is considered as an extended solution or improvement to the core fix which is showing the proper error(as per OP). Afaik we select the first original proposal which suggested the core fix if the improvements could/would have handled in the PR state. Because multiple improvements can be made on any selected proposal on any issue. In this case, clearing of error would have been mostly handled in the PR state.
We would want to implement any improvements along with the original fix. Contributors are encouraged to add improvements whenever possible. But proposals with minor/PR kind of improvements to the core issue might not be selected if the proposal is not the first posted compared to the proposal which has the core fix. Cc @tgolen |
Yeah, I agree with that too. It's not always a given that stuff like that gets caught in the PR which is why I can see both sides to it. If it is caught and addressed in this PR, then let's just move forward with the single PR like it is. |
@abdulrahuman5196 can you give an update of status of this issue? thank you |
The PR is merged 4 days ago, waiting for the deploy to staging and prod. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.75-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-03. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment Summary: C+ @abdulrahuman5196 $500 paid in upwork |
@abdulrahuman5196 please confirm checklist above so we can close this out thanks |
Not a regression.
Yes.
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.51-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4418303
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Preconditions:
Set up an OldDot admin account, invite the employee to the policy https://sites.google.com/applausemail.com/applause-expensifyproject/wiki-guides/newdot-categories?authuser=0
Steps:
Expected Result:
The error "No route found through the waypoints. Please edit the waypoints and try again." Should be shown in the UI.
Actual Result:
The error "Unexpected error requesting money, please try again later" is shown in the UI.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6412058_1710321526582.Recording__1419.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @laurenreidexpensifyThe text was updated successfully, but these errors were encountered: