-
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 2023-10-25] [$500] IOU-In distance request, after selecting start waypoint finish section disappears #29748
Comments
Triggered auto assignment to @conorpendergrast ( |
Job added to Upwork: https://www.upwork.com/jobs/~01e50d142f42c98aba |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Not reproducible on production 20231017_100139.mp4 |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @lakchote ( |
I have reproduced this on Staging (not on Production) which makes this a deploy blocker 👍 |
This comment was marked as outdated.
This comment was marked as outdated.
ProposalPlease re-state the problem that we are trying to solve in this issue.Only start waypoint exists once we select start location in request money->distance What is the root cause of that problem?The root cause exists when we add a new waypoint. By default, there are 2 waypoints: waypoint0 = {} and waypoint1 = {}. Therefore, both the start and finish points are displayed. However, once we add a real waypoint, only waypoint0 exists, causing this bug. What changes do you think we should make in order to solve the problem?Update this line of code
with
Result: a4649225-50e8-48fa-8788-f7d661b6df65.mp4What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOU-In distance request, after selecting start waypoint finish section disappears What is the root cause of that problem?This issue is happening because we are setting default waypoint values as App/src/libs/actions/Transaction.ts Lines 35 to 36 in c226384
Initially onyx is storing this values without a problem. But when start waypoint is selected, we are updating onyx with new waypoint0 :App/src/libs/actions/Transaction.ts Lines 65 to 67 in c226384
But after this update onyx is removing any keys with I think Onyx is accepting What changes do you think we should make in order to solve the problem?I think we should provide default empty values in waypoints as App/src/libs/actions/Transaction.ts Lines 35 to 36 in c226384
Also here App/src/components/DistanceRequest/index.js Line 173 in 835ecf7
What alternative solutions did you explore? (Optional) |
Noting that there was an earlier report of this via Slack, by @rakshitjain13, for the bug bounty. |
This comment was marked as duplicate.
This comment was marked as duplicate.
Seems a regression from #26307 where null has been assigned in the
Initially as |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.85-4 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 2023-10-24. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
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:
|
Bump @Santhosh-Sellavel please fill out the checklist |
Looks like this one is ready for payment |
Payouts due:
Eligible for 50% #urgency bonus? Yes Upwork job is here. |
Just waiting for the checklist by @Santhosh-Sellavel |
Bump for the checklist please @Santhosh-Sellavel ! |
@conorpendergrast If I remember correctly @Santhosh-Sellavel said he wouldn't be online for couple of days in C+ channel. Could not verify it since I lost access to the channel |
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:
|
Sounds good, closing. Thanks all! |
$750 payment approved for @Santhosh-Sellavel based on this comment. |
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.85-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:
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 and by @rakshitjain13 via Slack
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697268905255679
Action Performed:
Expected Result:
In distance request, after selecting start waypoint finish section must not disappear.
Actual Result:
In distance request, after selecting start waypoint finish section disappears.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Bug6240021_1697517524922.fini_compress_1.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: