Skip to content
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

Distance - Mileage Rate changes from previous value when editing waypoints #40762

Closed
4 of 6 tasks
izarutskaya opened this issue Apr 23, 2024 · 21 comments
Closed
4 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 23, 2024

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.64-0
Reproducible in staging?: Y
Reproducible in production?: No, new feature
Found when validating PR : #38543
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Pre-requisite: User should be an employee of a collect workspace which has a custom mileage rate

  1. Navigate to staging.new.expensify.com
  2. Click on FAB > Submit expense > Distance
  3. Insert start and finish points
  4. Select the collect workspace
  5. Select the custom rate and create the request
  6. Open the expense report of the created distance request
  7. Click on distance
  8. Invert the order of the waypoints

Expected Result:

Rate should not change but retain its selected custom rate

Actual Result:

Mileage rate changes to default rate after editing waypoints

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6458462_1713857607407.bandicam_2024-04-23_10-22-21-555.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01572c3a6ba1c412f4
  • Upwork Job ID: 1782796238303707136
  • Last Price Increase: 2024-04-23
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 23, 2024
Copy link

melvin-bot bot commented Apr 23, 2024

Triggered auto assignment to @kadiealexander (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

Copy link

melvin-bot bot commented Apr 23, 2024

Triggered auto assignment to @mountiny (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Apr 23, 2024
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@izarutskaya
Copy link
Author

@kadiealexander 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.

@izarutskaya
Copy link
Author

We think this issue might be related to the #collect project.

@koko57
Copy link
Contributor

koko57 commented Apr 23, 2024

Looks like something from the New Rate Field PR

cc @mountiny

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 23, 2024
@mountiny
Copy link
Contributor

Assigning, its a new feature, I dont think we have to block deploy on this

@koko57
Copy link
Contributor

koko57 commented Apr 23, 2024

@neil-marcellini shouldn't it be fixed on the backend? I'm not sending the rate ID for UpdateMoneyRequestDistance, yet I get the default rate ID instead of the previous one in the response
Screenshot 2024-04-23 at 14 43 22

@mountiny
Copy link
Contributor

@neil-marcellini would you be able to take this over given you have context?

@neil-marcellini neil-marcellini added the Internal Requires API changes or must be handled by Expensify staff label Apr 23, 2024
Copy link

melvin-bot bot commented Apr 23, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01572c3a6ba1c412f4

Copy link

melvin-bot bot commented Apr 23, 2024

Triggered auto assignment to Contributor Plus for review of internal employee PR - @akinwale (Internal)

@neil-marcellini
Copy link
Contributor

I'll start working on a backend fix now.

@neil-marcellini neil-marcellini added the Reviewing Has a PR in review label Apr 23, 2024
Copy link

melvin-bot bot commented May 1, 2024

@akinwale, @neil-marcellini, @koko57, @kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick!

Copy link

melvin-bot bot commented May 3, 2024

@akinwale, @neil-marcellini, @koko57, @kadiealexander Huh... This is 4 days overdue. Who can take care of this?

Copy link

melvin-bot bot commented May 7, 2024

@akinwale, @neil-marcellini, @koko57, @kadiealexander Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

1 similar comment
Copy link

melvin-bot bot commented May 7, 2024

@akinwale, @neil-marcellini, @koko57, @kadiealexander Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

Copy link

melvin-bot bot commented May 9, 2024

@akinwale, @neil-marcellini, @koko57, @kadiealexander 10 days overdue. Is anyone even seeing these? Hello?

@arielgreen
Copy link
Contributor

@kadiealexander removing this from the split project as it's re workspaces (split is only off-workspace)

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels May 14, 2024
Copy link

melvin-bot bot commented May 14, 2024

This issue has not been updated in over 14 days. @akinwale, @neil-marcellini, @koko57, @kadiealexander eroding to Weekly issue.

@neil-marcellini
Copy link
Contributor

Wow this issue got kind of buried. Let's see what the status is.

@neil-marcellini
Copy link
Contributor

This was fixed a long time ago with this PR, and was marked as passing QA 2 weeks ago in this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants