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 - No error message when saving duplicate points #35193

Closed
6 tasks done
lanitochka17 opened this issue Jan 25, 2024 · 12 comments
Closed
6 tasks done

Distance - No error message when saving duplicate points #35193

lanitochka17 opened this issue Jan 25, 2024 · 12 comments
Assignees
Labels
Engineering Hourly KSv2 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Jan 25, 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.32-2
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
Slack conversation:

Issue found when executing PR #34107

Action Performed:

  1. Create a distance request with three waypoints, A, B and C.
  2. Navigate to request details page.
  3. Click Distance.
  4. Change the waypoint C to become waypoint B.
  5. Click Save

Expected Result:

App will throw the error "Please select unique waypoints"

Actual Result:

No error message is seen when saving duplicate 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

Add any screenshot/video evidence

Bug6355111_1706215612433.20240126_022216.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c1a743dc1fab2180
  • Upwork Job ID: 1750658279340400640
  • Last Price Increase: 2024-01-25
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Jan 25, 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.

Copy link

melvin-bot bot commented Jan 25, 2024

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

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave6.
CC @greg-schroeder

@greg-schroeder
Copy link
Contributor

hmm I think this is closer to Wave 5

@francoisl
Copy link
Contributor

francoisl commented Jan 25, 2024

Production doesn't let you save the duplicate waypoints either, but at least shows an error message Please select unique waypoints.:

image

I think that's really the regression here that's not working on staging. That error message is correctly returned by the API to the UpdateMoneyRequestDistance request on staging too, e.g.:

{
    "code": 666,
    "jsonCode": 666,
    "type": "Expensify\\Libs\\Error\\ExpError",
    "UUID": "80DA580D-B8AD-4E6E-B23D-7E25E9A8318A",
    "message": "Please select unique waypoints.",
    "title": "",
    "data": [],
    "htmlMessage": "",
    "onyxData": [],
    "requestID": "84b3ea47dbc6270a-SJC"
}
Screen.Recording.2024-01-25.at.2.18.53.PM.mov

@francoisl
Copy link
Contributor

@aldo-expensify reverting #34107 locally fixes the issue - any idea about a quick solution we could apply instead of reverting?

@francoisl
Copy link
Contributor

Ok I think I see the issue, it's a backend fix so we'll keep it internal.

@francoisl francoisl added the Internal Requires API changes or must be handled by Expensify staff label Jan 25, 2024
Copy link

melvin-bot bot commented Jan 25, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01c1a743dc1fab2180

Copy link

melvin-bot bot commented Jan 25, 2024

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

@francoisl
Copy link
Contributor

No need for a C+ here, thanks!

@francoisl francoisl added Reviewing Has a PR in review and removed DeployBlockerCash This issue or pull request should block deployment labels Jan 25, 2024
@francoisl
Copy link
Contributor

A backend fix was merged, we're not going to CP it given that this is a fairly small issue in the end.

@francoisl
Copy link
Contributor

This has been fixed and deployed for a while, forgot to close.

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

No branches or pull requests

4 participants