Skip to content

[HOLD for payment 2024-12-20] [$250] Track distance - Not here page opens after submitting track distance expense to new workspace #53995

Closed

Description

@IuliiaHerets

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: 9.0.75-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): dnfioffdjojdfoidfjod@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • Account has no workspace (new account).
  1. Go to staging.new.expensify.com
  2. Go to self DM.
  3. Track a distance expense.
  4. Click Share it with my accountant.
  5. Click Rate.
  6. Select any rate.
  7. Click Submit.

Expected Result:

The track distance expense is submitted to the workspace chat.

Actual Result:

Not here page opens after submitting track distance expense to a new workspace.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6691881_1733990287565.20241212_155552.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021867171525628939701
  • Upwork Job ID: 1867171525628939701
  • Last Price Increase: 2024-12-12
Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. added
    DeployBlockerCash
    Bug
    on Dec 12, 2024
  2. melvin-bot commented on Dec 12, 2024

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (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. melvin-bot commented on Dec 12, 2024

    @melvin-bot

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

  4. melvin-bot commented on Dec 12, 2024

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Dec 12, 2024

    @github-actions
    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.
  6. Julesssss commented on Dec 12, 2024

    @Julesssss
    Contributor

    I believe this is the backend error, though it's possible a separate error:

    Screenshot 2024-12-12 at 10 30 09

    UpdateMoneyRequestDistanceRate fails because customUnitRateID is passed, but is missing necessary fields. The transactionNVPs json must include customUnit and customUnit.name must be `Distance.

  7. Julesssss commented on Dec 12, 2024

    @Julesssss
    Contributor

    I'm not seeing any recent changes on the backend. There is a single App PR on the checklist related to distance customUnits, which I have commented on.

  8. paultsimura commented on Dec 12, 2024

    @paultsimura
    Contributor

    @Julesssss, I see this happens only in the no-workspace case when a new one is created automatically.
    We never pass the customUnit.name in other API params and when sharing to an existing workspace, the flow works well, so I doubt this can be fixed on FE.

    For my PR, a BE change was made previously – Web-E 44237. Could you please check maybe it's not handling this case correctly?

    cc: @neil-marcellini

  9. 14 remaining items

  10. Julesssss commented on Dec 13, 2024

    @Julesssss
    Contributor

    Requested a retest here.

  11. isagoico commented on Dec 13, 2024

    @isagoico

    Retest was a pass!

    Untitled.video.6.mp4
  12. removed
    DeployBlockerCash
    on Dec 13, 2024
  13. Julesssss commented on Dec 13, 2024

    @Julesssss
    Contributor

    Removing blocker

  14. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Dec 13, 2024
  15. changed the title [-][$250] Track distance - Not here page opens after submitting track distance expense to new workspace[/-] [+][HOLD for payment 2024-12-20] [$250] Track distance - Not here page opens after submitting track distance expense to new workspace[/+] on Dec 13, 2024
  16. removed
    Reviewing
    on Dec 13, 2024
  17. melvin-bot commented on Dec 13, 2024

    @melvin-bot

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

  18. melvin-bot commented on Dec 13, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.75-6 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-12-20. 🎊

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

  19. melvin-bot commented on Dec 13, 2024

    @melvin-bot

    @shubham1206agra @mallenexpensify @shubham1206agra The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  20. mallenexpensify commented on Dec 30, 2024

    @mallenexpensify
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] 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:

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    Regression Test Proposal Template
    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Precondition:

    Test:

    Do we agree 👍 or 👎

  21. mallenexpensify commented on Dec 30, 2024

    @mallenexpensify
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
    • 2b. Reported on staging (eg. found during regression or PR testing)
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] 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:

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    Regression Test Proposal Template
    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Precondition:

    Test:

    Do we agree 👍 or 👎

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

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringExternalHelp WantedWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions