-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-01-11] [$500] IOU- When replacing receipt and downloading it, previous receipt with new receipt name is downloaded #33363
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0113378cba031fc595 |
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The link source download does not update when replace the image What is the root cause of that problem?Currently, when the source changes we don't update in the What changes do you think we should make in order to solve the problem?We should add the What alternative solutions did you explore? (Optional) |
I am trying to access the issue details using the link "https://stackoverflow.com/c/expensify/questions/14418" but i am getting you do not have access. Can you help on it ? |
📣 @vikssevishnu! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.The previous receipt is downloaded, while the receipt file name is the name of the latest receipt What is the root cause of that problem?The receipt image preview now is a modal. So when it's closed, it's not unmounted. App/src/components/AttachmentModal.js Line 398 in bd7629e
What changes do you think we should make in order to solve the problem?We should create a
and add App/src/components/AttachmentModal.js Line 398 in bd7629e
What alternative solutions did you explore? (Optional)We can use |
In that case, @dukenv0307 please create a quick PR for this |
ProposalPlease re-state the problem that we are trying to solve in this issue.When a reciept attachement is replaced and then downloaded after, the old attachment will be downloaded. What is the root cause of that problem?
The useMemo for the What changes do you think we should make in order to solve the problem?We need to update
We also need to add App/src/components/AttachmentModal.js Line 398 in bd7629e
While i arrived at these conclusions by myself, so far they are the exact same as the proposal of @dukenv0307 However I had some more issues with this solution, as we now allow blob URLs as source until the attachment is done uploading. If we add the auth token when we are attempting to download a blob URL, the download will fail. I suggest we also add a check if source is a blob url before adding the encrypted auth token. App/src/components/AttachmentModal.js Lines 194 to 205 in bd7629e
What alternative solutions did you explore? (Optional)We might want to check if |
@abdulrahuman5196 should we close these GHs in favor of what @situchan mentioned above or move forward with the proposal review? |
@shubham1206agra The PR ready for review. |
Heads up, I will be offline from Friday, December 22, to Thursday, January 4, 2024. I will not be actively watching over this GitHub during that period. If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks! |
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@alexpensify We can close this issue, given the PR was merged. This was a regression fix. |
👍🏼 - closing |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.21-4 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 2024-01-11. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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 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. |
@shubham1206agra - can you please identify if this PR triggered the deploy blocker or if there is another reason for this automation? Thanks! |
Oh it's a false alert actually |
@shubham1206agra - can you please share more context as to why the alert is wrong? It will be helpful to have it recorded here. Thanks! |
@alexpensify #33586 is the offending PR. Some contributor marked this by mistake as this issue is already deployed to production. |
Thank you! I will continue the process to prepare for the payment date. |
Based on the 👎🏼 here #33363 (comment) and the note here #33363 (comment), there is no payment action here since this issue was handled in other GH. I confirmed the Upwork job is closed too. |
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.14-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:
Expected Result:
The latest receipt will be downloaded
Actual Result:
The previous receipt is downloaded, while the receipt file name is the name of the latest receipt
On Android and iOS app, it downloads the previous receipt (file name is not affected/not relevant) after replacing the receipt
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6321355_1703082153236.bandicam_2023-12-20_22-14-39-707.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @abdulrahuman5196The text was updated successfully, but these errors were encountered: