-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-08-28] Transaction objects for expense data are created with wrong amount #24610
Comments
Triggered auto assignment to @puneetlath ( |
Job added to Upwork: https://www.upwork.com/jobs/~01b5302916f1fc46d7 |
Bug0 Triage Checklist (Main S/O)
|
Current assignee @sobitneupane is eligible for the Internal assigner, not assigning anyone new. |
I'll take this as part of wave3 |
PR with fix is in a review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.55-8 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-08-28. 🎊 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.
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, @mountiny Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@situchan has reviewed the PR so they should be eligible to $1000 reward (done before the pricing change) |
@JmillsExpensify, @mountiny, @situchan Still overdue 6 days?! Let's take care of this! |
@JmillsExpensify, @mountiny, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
This is fixed, no need for checklist @JmillsExpensify could you please pay out @situchan $1000 for their work here, thanks! |
@JmillsExpensify, @mountiny, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify, @mountiny, @situchan Huh... This is 4 days overdue. Who can take care of this? |
@JmillsExpensify, @mountiny, @situchan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@JmillsExpensify, @mountiny, @situchan 10 days overdue. I'm getting more depressed than Marvin. |
@JmillsExpensify, @mountiny, @situchan 12 days overdue now... This issue's end is nigh! |
This issue has not been updated in over 14 days. @JmillsExpensify, @mountiny, @situchan eroding to Weekly issue. |
@mountiny to help @JmillsExpensify, can I use additional 1k from #23280 to pay this issue, instead of refund? |
@maddylewis Can you please comment here, you have paid @situchan twice on the linked issue and that covers this issue too and then close it? just for auditing purposes |
great idea! confirmed that i paid @situchan twice for this issue. we can use that extra payment for this issue! |
Problem
The optimistically created transaction objects should have saved amounts as negative numbers in case of the linked report being an expense report. Thats to mirror how the backend stores the data and what the server returns. Once we switch to using the transaction data here #24345 this will cause problems #24345
Additionally when paying money request we are incorrectly creating a new transaction and the original message is incorrect as well not matching to what the backend returns, not sure how this got through for so long 😄
Solution
Remove the redundant code and make sure transactions are created with negative amounts if they are linked to expense reports.
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: