Open lanitochka17 opened 2 weeks ago
Triggered auto assignment to @greg-schroeder (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.
@greg-schroeder 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
Edited by proposal-police: This proposal was edited at 2024-10-29 18:55:18 UTC.
Distance and Rate show “Pending” when tracking via Just track it route
When we click on Just track it
, we don't set the customUnitRateID
as we do here
Then the mileageRate
in the confirmation page here is undefined
based on this logic
Which causes isDistanceRequestWithPendingRoute
is true
and waypoints
pendingField is added as add
which makes Pending...
is displayed for distance and rate field
https://github.com/Expensify/App/blob/9f92c5e7850301b3b04efe80814a4790188fdde5/src/components/MoneyRequestConfirmationList.tsx#L664-L678
We should update the customUnitRateID
when we click on Just track it
button here. Optionally, we can only do it if the request is distance request.
const rateID = DistanceRequestUtils.getCustomUnitRateID(selfDMReportID, !canUseP2PDistanceRequests);
IOU.setCustomUnitRateID(transactionID, rateID);
OPTIONAL: We can also update the reportID
of the draft transaction to selfDMReportID
We can do this logic inside setMoneyRequestParticipantsFromReport
function
Job added to Upwork: https://www.upwork.com/jobs/~021851378732093417344
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (External
)
@nkdengineer Thanks for the proposal. Your RCA makes sense. Do you know at what stage we set the comment.customUnit.customUnitRateID
when using the FAB Track Expense option?
@s77rt When using FAB Track expense the customUnitRateID
is updated here.
@nkdengineer Got it! Thanks! The proposed solution looks good to me.
🎀 👀 🎀 C+ reviewed Link to proposal
Triggered auto assignment to @robertjchen, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@robertjchen Please take a look when you have a chance.
👍 to proposal!
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻 Keep in mind: Code of Conduct | Contributing 📖
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.58-2 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-11-14. :confetti_ball:
For reference, here are some details about the assignees on this issue:
@s77rt @greg-schroeder 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]
[X] [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: https://github.com/Expensify/App/pull/49007#discussion_r1835666613
[X] [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: n/a
[X] [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.
[ ] [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Do we agree 👍 or 👎
Thanks @s77rt! Looks like we're set to go for 11/14
@greg-schroeder I think you still need to create a GH issue for the testrail test
Yeah of course. I'll file it after I pay this on 11/14
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.55-2 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): applausetester+kh1610015@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
Distance and Rate will show the correct distance and rate when tracking via Just track it route
Actual Result:
Distance and Rate show “Pending” when tracking via Just track it route
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/f4863806-3bb4-4f3f-873f-fba14a49508c
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @greg-schroeder