Open kavimuru opened 4 weeks ago
Triggered auto assignment to @anmurali (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@anmurali 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.
This bug might be related to #wave-collect - Release 1
@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick!
Job added to Upwork: https://www.upwork.com/jobs/~01bd5a6adff9415feb
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts (External
)
Unable to delete replaced receipt on manual request when there is one request
The back-end is returning 405 Cannot detach receipt from unowned transaction
, and we're simply restoring the transaction here without showing any error message to the user.
So from the user POV, the receipt just restores itself and the feature looks like it doesn't work.
errors
on the transaction if the receipt deletion fails. We can add a new error message key like Unexpected error deleting this receipt. Please try again later.
value: {
...transaction,
errors: ErrorUtils.getMicroSecondOnyxError('iou.error.receiptDeleteFailureError')
},
We already have it for the replaceReceipt case, and when requesting money, just missing it for the delete receipt case.
We can also remove the error in optimistic/success data.
NA
@anmurali, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick!
@nkdengineer's proposal looks good to me. In this case, we'd need someone on the backend to fix the error. Regardless of that, as mentioned in the proposal, we should show the error and that would require a fix from the frontend.
π π π C+ reviewed
Triggered auto assignment to @MariaHCD, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
I agree that we need to show an error message if deleting a receipt on a request does not succeed ππΌ
π£ @nkdengineer π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
Looking into the backend error and leaving some notes for myself.
We're throwing the error here
I believe it's because of this condition. Spinning up a PR.
Backend fix is out for review - https://github.com/Expensify/Auth/pull/10712
Still working on the backend PR - https://github.com/Expensify/Auth/pull/10712
@nkdengineer I believe you can proceed with the frontend PR while the backend piece is being worked on.
@MariaHCD Thanks for your update, I will raise the PR soon.
@allroundexperts The PR is here.
The backend PR has been merged and will be deployed later today: https://github.com/Expensify/Auth/pull/10712
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.73-7 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-05-22. :confetti_ball:
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
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: 1.4.63-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: N/A Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause internal team Slack conversation:
Action Performed:
Expected Result:
Receipt should be deleted
Actual Result:
Unable to delete replaced receipt on manual request when there is one request
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/43996225/94973ab8-d886-43cf-8701-d8246593a9e6
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmurali