-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] [$500] Distance - For selected Invalid address, error displayed but showing previously selected waypoint #30837
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0116f74087ff38a9d5 |
Triggered auto assignment to @NicMendonca ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)An alternative for |
ProposalPlease re-state the problem that we are trying to solve in this issue.If we input an invalid address on a address field which previously had a valid address the name will still display the previous inserted valid address What is the root cause of that problem?When we select an invalid address App/src/pages/iou/WaypointEditor.js Lines 163 to 172 in c0657fa
So in App/src/libs/actions/Transaction.ts Lines 59 to 73 in c0657fa
What changes do you think we should make in order to solve the problem?Anything regarding the error display message should be fixed on backend. App/src/pages/iou/WaypointEditor.js Lines 163 to 172 in c0657fa
to
so that in invalid addresses case the name field will be reset in onyx merge 👍 2023-11-03.16-26-58.mp4What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.We have 2 bugs here: What is the root cause of that problem?We don't remove old name value App/src/pages/iou/WaypointEditor.js Lines 164 to 169 in aa30ef2
Because values.name is undefined, when using MERGE method ONYX won't overwrite old waypoint.name Bug 2: In here App/src/pages/iou/WaypointEditor.js Lines 146 to 150 in aa30ef2
We don't reset values.name What changes do you think we should make in order to solve the problem?Bug 1: In here App/src/pages/iou/WaypointEditor.js Lines 164 to 169 in aa30ef2
We should update like this Bug 2: In here App/src/pages/iou/WaypointEditor.js Lines 146 to 150 in aa30ef2
We should add name: waypointValue or name: null
What alternative solutions did you explore? (Optional)We can consider combine old data and update data and then using SET method instead of MERGE method |
@NicMendonca, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@allroundexperts proposals for you! ^ |
@NicMendonca, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
1 similar comment
@NicMendonca, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks for the proposals everyone. I think we should go with @DylanDylann's proposal since it covers extra cases which everyone else missed. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@Beamanator Could you help to review my proposal? Thanks so much |
@Beamanator, @NicMendonca, @allroundexperts 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
I'm officially back from vacayyyy! reviewing now |
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@Beamanator @NicMendonca @allroundexperts @DylanDylann this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
@DylanDylann when do you think we can get a PR here? |
The PR will be ready in tomorrow |
@allroundexperts The PR is ready for reviewing |
This issue has not been updated in over 15 days. @Beamanator, @NicMendonca, @allroundexperts, @DylanDylann eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@NicMendonca The PR is merged and deployed to production, could you help to move forward with this issue? |
@NicMendonca Bump again |
omg, so sorry, I don't know why this didn't bump to a daily |
BZ payment summary: Contributor: @DylanDylann - $500 - paid via Upwork |
@DylanDylann you've been paid! @allroundexperts don't forget to request payment via Expensify! |
$500 approved for @allroundexperts based on summary above. |
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.3.95-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:
Pre-condition: In offline, create and save 2 vague locations (eg-WT)for making distance request
1.Go to https://staging.new.expensify.com/
2.Tap employee WS
3.Tap plus--request money-- distance
4.Enter start and finish point with any valid address
5.Tap stop point and enter invalid address
6.Note incorrect error
(Issues with map provider, try again)shown
7.Tap that waypoint and change to valid address
8. Again tap and select same address
9.Now select any invalid address
Expected Result:
When Invalid address is selected, the selected address and correct error message should be displayed.
Actual Result:
When Invalid address is selected, error is displayed but showing previously selected waypoint.
Incorrect error message - ( Issues with map provider, try again) is shown
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6262139_1699012200332.error.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: