-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-03-25] [$125] Expense - Unexpexted error when trying to delete an expense. #57971
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
Comments
Triggered auto assignment to @garrettmknight ( |
Triggered auto assignment to @robertjchen ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
we were having site issues at the time, can we try testing again? |
Hello @robertjchen issue still reproducible screen-20250307-001153.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Error when deleting expense. What is the root cause of that problem?When we already approved the expense, the delete option shouldn't be shown. Lines 2115 to 2117 in fb79730
However, the report passed is the policy expense chat, not the expense report. This started to happen after we allowed deleting a single transaction report preview. We pass the App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 756 to 759 in fb79730
Also, if we see the delete option, it reads "Delete comment" instead of "Delete expense". That's because we pass the report preview action instead of the IOU action to the translate key.
Line 707 in fb79730
What changes do you think we should make in order to solve the problem?First, we need to pass the expense report App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 756 to 771 in fb79730
We can get it from the original message.
For the second issue, we need to pass the
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
Job added to Upwork: https://www.upwork.com/jobs/~021897868050174930335 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale ( |
@bernhardoj's proposal looks good here. 🎀👀🎀 C+ reviewed. |
Current assignee @robertjchen is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Sounds good, thanks for the review 👍 |
PR is ready cc: @akinwale |
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. |
Upwork job price has been updated to $125 |
The link seems to be mixed up in your post, but yes, this deploy blocker was caused by the PR for this issue. |
Thanks for confirming - do we need to do anything here to correct or is that other issue correcting entirely? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.14-5 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 2025-03-25. 🎊 For reference, here are some details about the assignees on this issue:
|
@akinwale @garrettmknight @akinwale 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] |
There is a PR on the other issue which has been cherry-picked to the deploy, so nothing else to do here at this time except to complete the checklist. |
Got it, we'll wait for the checklist and halve payment then. Thanks! |
Payment Summary
BugZero Checklist (@garrettmknight)
|
Requested in ND. |
@bernhardoj confirming you submitted $125 for the request due to the regression? |
@garrettmknight You'd also need to post a payment summary for the ND payments to be processed. |
$125 approved for @akinwale |
Payment summary is here: #57971 (comment) |
@garrettmknight yes |
$125 approved for @bernhardoj |
Uh oh!
There was an error while loading. Please reload this page.
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.1.10-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12 - Chrome / Windows 10 - Chrome
App Component: Money Requests
Action Performed:
Prerequisite: Delayed submissions and approvals enabled.
Expected Result:
User should be able to delete the expense without any issue after submitting it.
Actual Result:
"Unexpected error" message is displayed when user tries to delete an expense via context menu, after submitting it and approving it. Also, "Delete Comment" is displayed on context menu instead of "Delete Expense"
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6763495_1741310149437.Unexpected.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @garrettmknightThe text was updated successfully, but these errors were encountered: