-
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
Total request money wrong after delete a request #24241
Comments
Triggered auto assignment to @mallenexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The total amount of money requested does not decrease when canceling other requests and does not show the request total to the assigned user What is the root cause of that problem?If cancel the money request, the money request report's App/src/pages/home/report/ReportActionItem.js Lines 601 to 625 in 012d604
So the total amount of money request does not decrease. What changes do you think we should make in order to solve the problem?We should add checking if memo(
ReportActionItem,
(prevProps, nextProps) =>
...
lodashGet(prevProps.report, 'total', 0) === lodashGet(nextProps.report, 'total', 0),
), What alternative solutions did you explore? (Optional)None. |
I think the issue is the same as the issue I reported on slack before here |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
We can close this out as it's being taken care of in this deploy blocker. |
@srikarparsi i think i am first reporter so can you update github reporter blocker if we close here |
@srikarparsi Should I raise PR in this issue? #24267 is already closed. |
I think it might not be handled still. |
Removing |
I think this is done. The linked PR was closed and I can't reproduce it anymore. ![]() |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Total update after delete a request money
Actual Result:
Total not update after delete a request money
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.51-0
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
Notes/Photos/Videos: Any additional supporting documentation
request.mp4
Recording.1452.mp4
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691235556837429
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: