-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-09-12] [$1000] RBR applies to newly created distance expenses when it shouldn't #26567
Comments
Current assignee @JmillsExpensify is eligible for the Bug assigner, not assigning anyone new. |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~01ccdddd243b0d35e1 |
Current assignee @JmillsExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
Upwork job price has been updated to $1000 |
Assuming it is similar to https://expensify.slack.com/archives/C049HHMV9SM/p1693604955703649 ProposalPlease re-state the problem that we are trying to solve in this issue.Shows RBR for successful distance money request What is the root cause of that problem?In the
App/src/components/ReportActionItem/MoneyRequestPreview.js Lines 246 to 251 in 57603a0
What changes do you think we should make in order to solve the problem?I think we need to consider this RBR only for scanned requests. So we can add 1 more condition to ignore distance requests. App/src/libs/TransactionUtils.js Lines 250 to 252 in 57603a0
OR !isDistanceRequest &&
|
ProposalPlease re-state the problem that we are trying to solve in this issue.RBR applies to newly created distance expenses when it shouldn't What is the root cause of that problem?We have a field called The preview is enabled for Scan & Distance requests both but we're only checking the status for Scan related items. App/src/libs/TransactionUtils.js Line 240 in 7217a18
What changes do you think we should make in order to solve the problem?We need to add What alternative solutions did you explore? (Optional)NA |
Kapture.2023-09-02.at.23.38.07.mp4 |
@hayata-suenaga requesting the review. Although I humbly request you to carefully review the proposals please 😅😂 |
@Pujan92's root cause is correct and first solution looks good. |
@situchan Can you please explain the basis as well? Why do you think that is correct? |
I'd say Scan and Distance are same except we're generating receipt in the backend. Loosening for one might break things somewhere else. Maybe wrong too |
When we have the transaction with receipt we try to make sure whether the receipt is being scanned or not inside I think adding a condition in one place |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.63-2 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 2023-09-12. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue: As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
I don't think we need special regression test here as long as we have distance request test case in TestRail. |
waiting for payment |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
still waiting for payment |
@JmillsExpensify, @Pujan92, @hayata-suenaga, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Offers sent to all contributors via Upwork. |
Offer Accepted! |
I already have accepted offer - #26567 (comment) |
I also applied from this, needs to cancel/end the latter one. |
Ah thanks. The job was closed in Upwork and I wasn't able to see the contract from the job. In any case, I paid both out via Upwork and have canceled the other offers. Thanks all! |
Reproduction video
RPReplay_Final1693665469.1.MP4
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: