-
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
[$500] IOU - Original amount is copied when system message shows the latest amount for paid edited request #33816
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01447abde9208e3a7c |
Triggered auto assignment to @anmurali ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
I have some possible workarounds! (Client-side) (Server-side) In conclusion, by focusing on robust state management, reactive data binding, and ensuring API and database consistency, the issue can be systematically identified and resolved. I am confident it's one of the things listed above! |
📣 @brookbdt! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
I have some possible workarounds! (Posting again in case you didn't see the previous one since you didn't have my contributor details) (Client-side) (Server-side) In conclusion, by focusing on robust state management, reactive data binding, and ensuring API and database consistency, the issue can be systematically identified and resolved. I am confident it's one of the things listed above! |
ProposalPlease re-state the problem that we are trying to solve in this issue.The original amount is copied in the clipboard when the system message shows a different amount. What is the root cause of that problem?App/src/pages/home/report/ContextMenu/BaseReportActionContextMenu.js Lines 58 to 63 in fe49e4f
In this line, we memoized "reportAction" for the context menu. This could be the root of the problem because we are retaining old information for the context menu. What changes do you think we should make in order to solve the problem?We should ensure that the information in the context menu is up-to-date. For example, we can pass only the ID of the report instead of the full report to the context menu and retrieve information only when we press actual actions. What alternative solutions did you explore? (Optional)Alternatively, we can update our memoized hook dependencies to make sure that the information is up-to-date. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Original amount is copied when system message shows the latest amount for paid edited request What is the root cause of that problem?We are getting the amount from Lines 4103 to 4104 in 689c227
But It has the non-updated the original value. What changes do you think we should make in order to solve the problem?We can get calculate from via Lines 2008 to 2009 in 689c227
but in case the iouReport doesn't exist we will fallback to the originalMessage amount
What alternative solutions did you explore? (Optional) |
@FitseTLT when the account B is about to pay, should we get an error feedback? To try again later, with the updated value. |
@eVoloshchak, @anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@eVoloshchak, @anmurali Still overdue 6 days?! Let's take care of this! |
@eVoloshchak - you have some proposals to review! |
@eVoloshchak another bump here. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@eVoloshchak @anmurali this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Yep Solved in BE. Can close it |
Issue not reproducible during KI retests. (First week) |
@eVoloshchak, @anmurali Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@eVoloshchak @anmurali this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
Closing per #33816 (comment) and #33816 (comment) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.20-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition: User A and B have no unsettled IOU
Expected Result:
The copied amount is the same as the amount in the system message, which is the latest amount
Actual Result:
The copied amount is the original requested amount, while the system message shows the latest amount
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6329821_1704110791580.20231230_213505.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: