Skip to content

[HOLD for payment 2024-06-05] [$250] Distance - No error message appears when trying to create an impossible route #40934

Closed

Description

@lanitochka17

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.4.65-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: https://expensify.testrail.io/index.php?/tests/view/4506440
Email or phone of affected tester (no customers): sustinov@applausemail.com
Issue reported by: Applause - Internal Team

Action Performed:

Prerequisites:
Create Collect Policy in OD and invite the employee. Guides - https://sites.google.com/applausemail.com/applause-expensifyproject/wiki-guides/newdot-categories?authuser=0

Step:

  1. Open https://staging.new.expensify.com/
  2. Log in to your employee account
  3. Navigate to the WS room
  4. Navigate to + Menu - Submit expense - Distance
  5. Select the starting waypoint - San Diego, CA, USA
  6. Select the final waypoint - Hawaiian Gardens, CA, USA
  7. Replace the final waypoint with - Hawaii, USA
  8. Click on the start waypoint
  9. Select again from the drop-down menu - San Diego, CA, USA
  10. Complete the creation of the IOU

Expected Result:

When trying to create a route in which it is impossible to route between waypoints, an error message should appear

Actual Result:

No error message appears when trying to create an impossible route

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

Bug6460393_1713970658002.Recording__80.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c3b8d6014bae7563
  • Upwork Job ID: 1792531544970502144
  • Last Price Increase: 2024-05-20
  • Automatic offers:
    • shubham1206agra | Reviewer | 0
    • bernhardoj | Contributor | 0
Issue OwnerCurrent Issue Owner: @laurenreidexpensify

Activity

  1. added
    Daily
    Bug
    on Apr 24, 2024
  2. melvin-bot commented on Apr 24, 2024

    @melvin-bot

    Triggered auto assignment to @laurenreidexpensify (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.

  3. lanitochka17 commented on Apr 24, 2024

    @lanitochka17
    Author

    @laurenreidexpensify FYI 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

  4. laurenreidexpensify commented on Apr 25, 2024

    @laurenreidexpensify
    Contributor

    2024-04-25_11-41-02

    v1.4.65-5 on web chrome staging is showing the error

    @lanitochka17 pls confirm the platform list again

  5. laurenreidexpensify commented on Apr 29, 2024

    @laurenreidexpensify
    Contributor

    Bump @lanitochka17 pls confirm platform list

  6. lanitochka17 commented on Apr 29, 2024

    @lanitochka17
    Author

    Issue is still reproducible with step 9

    Recording.1670.mp4

    We are waiting for confirmation from the tester of all platforms

  7. lanitochka17 commented on Apr 29, 2024

    @lanitochka17
    Author

    @laurenreidexpensify and reproduced on all environments

  8. laurenreidexpensify commented on May 1, 2024

    @laurenreidexpensify
    Contributor

    @lanitochka17 it looks like from your reproduction though that you cannot reproduce the reported error on web chrome, because you do see the error message?

  9. lanitochka17 commented on May 1, 2024

    @lanitochka17
    Author

    @laurenreidexpensify I agree that an error appears, but we can create an expense despite the error. Is this right?

  10. laurenreidexpensify commented on May 3, 2024

    @laurenreidexpensify
    Contributor

    I am not able to create an expense or move beyond Next as below when teh address is an impossible route, so I think we should remove web Chrome from the places where this error is reproducible - I am now on v1.4.70-1

    2024-05-03_14-13-22 (1)

  11. added
    retest-weekly
    on May 3, 2024
  12. 39 remaining items

  13. added
    Weekly
    Awaiting Payment
    on May 29, 2024
  14. changed the title [-][$250] Distance - No error message appears when trying to create an impossible route[/-] [+][HOLD for payment 2024-06-05] [$250] Distance - No error message appears when trying to create an impossible route[/+] on May 29, 2024
  15. removed
    Reviewing
    on May 29, 2024
  16. melvin-bot commented on May 29, 2024

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  17. melvin-bot commented on May 29, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.76-7 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-05. 🎊

    For reference, here are some details about the assignees on this issue:

  18. melvin-bot commented on May 29, 2024

    @melvin-bot

    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:

    • [@shubham1206agra] The PR that introduced the bug has been identified. Link to the PR:
    • [@shubham1206agra] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@shubham1206agra] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@shubham1206agra] Determine if we should create a regression test for this bug.
    • [@shubham1206agra] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@laurenreidexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  19. added
    Daily
    and removed
    Weekly
    on Jun 4, 2024
  20. laurenreidexpensify commented on Jun 5, 2024

    @laurenreidexpensify
    Contributor

    Payment Summary for 6 June:

    C+ @shubham1206agra $250 - offer sent in Upwork, please accept
    Contributor @bernhardoj $250 - offer accepted in upwork, ready to pay tomorrow

    @shubham1206agra please advise on steps above ^^

  21. shubham1206agra commented on Jun 5, 2024

    @shubham1206agra
    Contributor
  22. shubham1206agra commented on Jun 5, 2024

    @shubham1206agra
    Contributor

    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:

    1. Press FAB > Submit Expense
    2. Switch to Distance tab
    3. Select San Diego and Hawaiian Garden as the Start and Stop waypoints
    4. Change the Stop from Hawaiian Garden to Hawaii
    5. Verify there is an error above the next button
    6. Open the Stop waypoint again and select the same Hawaii
    7. Verify there is an error above the next button
    8. Verify pressing next won't navigate you to next page
    • [@laurenreidexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  23. laurenreidexpensify commented on Jun 6, 2024

    @laurenreidexpensify
    Contributor

    Payment Summary:

    C+ @shubham1206agra $250 - paid in upwork
    Contributor @bernhardoj $250 - paid in upwork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions