-
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 2023-12-15] [$500] Fix regressions related to file downloads #30931
Comments
Triggered auto assignment to @isabelastisser ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~0128bf854d351a72e3 |
Current assignee @aimane-chnaif is eligible for the External assigner, not assigning anyone new. |
@kidroca was working on the related issue |
@jasperhuangg Sure. Please assign @kidroca so they can raise PR BUG1: [native] Can’t download attachments from Concierge BUG2: [android] Wrong attachment name when download from Concierge BUG3: [all] Console error because of undefined fileName in attachment preview |
@aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@jasperhuangg can you please assign @kidroca? (and yourself if you want to) |
@aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
🎀 👀 🎀 |
Triggered auto assignment to @NikkiWines, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@kidroca can you comment on this issue so it adds you as a participant and we can assign the issue to you please 🙇 |
ProposalPlease re-state the problem that we are trying to solve in this issue.We are addressing three key bugs in our system related to attachment handling:
What is the root cause of that problem?For BUG1, the root cause lies in the handling of Concierge attachments added via drag and drop, which often lack a In the case of BUG2, it stems from the same issue as BUG1. The incorrect handling of missing file names leads to improperly generated names, particularly with datetime elements that include illegal characters (like For BUG3, the issue arises because What changes do you think we should make in order to solve the problem?To resolve BUG1, we should refine the code that deals with downloading attachments. This includes enhancing the logic to handle cases where the To fix BUG2, the solution involves revising the logic that generates file names, especially focusing on how datetime elements are processed. This revision should ensure that the names comply with standard naming conventions and do not include illegal characters. For BUG3, we have two potential approaches. We can either update the What alternative solutions did you explore? (Optional)Another solution might be to conduct a thorough audit of all attachment use cases (including server/backend code) to ensure |
Proposal looks good to me. |
Cool, yeah sounds good. Inferring the name from the URL would be a nice way to retain unique filenames though so it might be nice to do that 🤔 @jasperhuangg any strong thoughts either way for bug 3? |
@kidroca any update here? |
Posted a PR here It's ready for code review, though I need to update the description with test steps and complete the rest of the checklist |
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. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.9-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 2023-12-15. 🎊 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:
|
@NikkiWines can you please add |
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
payment summary @kidroca does not require payment (Contractor) - due $500 elsewhere. |
Fix the regressions identified while testing this PR: #25556
@aimane-chnaif (please update this issue when you get the chance to flesh out the specific regressions)
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: