-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2024-11-11] [$250] Track expense - Edited amount is not reflected correctly in amount editor on confirmation page #51030
Comments
Triggered auto assignment to @puneetlath ( |
@puneetlath 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-17 16:32:06 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Track expense - Edited amount is not reflected correctly in amount editor on confirmation page What is the root cause of that problem?We are taking the modifiedAmount from the trackExpense when we create draft transaction on submit it to someone Lines 8037 to 8046 in 4a25c36
So in IOUStepAmountPage we only update only amount (not modifiedAmount ) of the transaction if the action is not editing
So in confirmation page we will see this new amount we updated but when reopen the amount page it will show us modifiedAmount which has not been updatedApp/src/libs/TransactionUtils/index.ts Lines 337 to 340 in 4a25c36
it prioritize modifiedAmount if over amount if it exists
What changes do you think we should make in order to solve the problem?We should mimic the setup we have for create expense (because
What alternative solutions did you explore? (Optional) |
Edited by proposal-police: This proposal was edited at 2024-10-17 15:50:45 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The amount is $20, while it shows $30 on the confirmation page. What is the root cause of that problem?If the original amount is 100 We're showing the
But on amount page, we use
App/src/libs/TransactionUtils/index.ts Lines 358 to 360 in 47b6811
What changes do you think we should make in order to solve the problem?We should update Lines 404 to 406 in 47b6811
What alternative solutions did you explore? (Optional)NA |
Only added detail on the RCA |
@puneetlath Eep! 4 days overdue now. Issues have feelings too... |
Job added to Upwork: https://www.upwork.com/jobs/~021848821552702222159 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
Under review. |
Current assignee @puneetlath is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.56-9 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-11-11. 🎊 For reference, here are some details about the assignees on this issue:
|
@ntdiary @puneetlath 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] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
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.50-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): applausetester+kh081006@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The amount will remain the same, which is $30.
Actual Result:
The amount is $20, while it shows $30 on the confirmation page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6637715_1729172605869.20241017_213854.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @puneetlathThe text was updated successfully, but these errors were encountered: