-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-01-20] Attachment - Drag and drop of application files throws wrong error message #13768
Comments
Will take a look at this one. |
Hm, I tried to replicate this and receive this message:
|
Are we sure this is replicable? |
@muttmuure Yeah, it's replicable when drag and dropping, not when using the attachment picker: Kapture.2023-01-09.at.15.37.47.mp4 |
Although I think this is just related to the OS's file provided when dragging and dropping vs using the image picker, since both flows hit the same logic: App/src/components/AttachmentModal.js Lines 150 to 185 in 4e915a9
Here's what the get for the App file when using the file picker: I think a simple solution would be just to check for file type first in this method, since that would give us some consistency when we can't control what receive from the OS/browser (unless we can?) |
Job added to Upwork: https://www.upwork.com/jobs/~01aecef138c9bc6ea3 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @Santhosh-Sellavel ( |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.53-0 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-01-20. 🎊 After the hold period, please check if any of the following need payment for this issue, and if so check them off after paying:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
I have a question, if my solution (Posted in Workaround of this issue) is also the solution that contributor used to fix this bug, should I rewarded? @yuwenmemon 😂 |
@muttmuure can you issue payment and complete the regression test steps today? Also address @hungvu193 's question above. If needed, post in #contributor-plus to discuss, thanks. |
Will get to this today - I have a lot of other issues to get through but I will make sure this is done before I log off. |
OK getting to this now |
Posted a buddy check here https://expensify.slack.com/archives/C01SKUP7QR0/p1674236286387249 |
I've invited @hungvu193 but @Santhosh-Sellavel isn't showing under our company hires |
Nevermind I've found him from another earlier job |
You're both invited to apply for the job. Thanks! |
Applied for the job! |
Everyone is paid. Great hustle everybody. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The attachment modal should show correct message.
Actual Result:
The attachment modal show incorrect message.
Workaround:
Move the validation fileExtension on to the top of isValidFile inside AttachmentModal
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.42-1
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Screen.Recording.2022-12-20.at.11.53.12.mov
Recording.1134.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1671512078960629
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: