-
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
IOU-Expense is not deleted in the expense details if there is a comment inside the expense #49052
Comments
Triggered auto assignment to @nkuoch ( |
Triggered auto assignment to @alexpensify ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
This comes from #48055 ProposalPlease re-state the problem that we are trying to solve in this issue.The expense is not deleted. What is the root cause of that problem?For now, we only get the navigate-back URL in App/src/pages/ReportDetailsPage.tsx Lines 707 to 711 in ef6a64c
Then here if App/src/pages/ReportDetailsPage.tsx Lines 813 to 815 in ef6a64c
What changes do you think we should make in order to solve the problem?We should move the logic to delete the expense outside the if-else statement above
App/src/pages/ReportDetailsPage.tsx Lines 820 to 824 in ef6a64c
Or we can also call the delete API here without
App/src/pages/ReportDetailsPage.tsx Lines 813 to 815 in ef6a64c
What alternative solutions did you explore? (Optional) |
@nkdengineer are you available to work on a fix now? |
@luacmartins sure. |
cc @daledah @alitoshmatov since this is a regression from #48055 |
@nkdengineer all yours |
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. |
@luacmartins we have another regression from #48055 |
Ok, we have potentially 3 regressions from that PR. I'm just gonna revert it instead of patching multiple things. @nkdengineer please pause working on your PR. |
This is fixed on staging. Closing. |
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: 9.0.33-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4952443
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The expense should be deleted.
Actual Result:
The expense is not deleted.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6600780_1726131268330.bandicam_2024-09-12_11-29-57-634.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: