You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-05-22] [$1000] Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images #18210
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Drag the large pdf file (3-8 MB) onto the chat. (I tested it with documents that I've attached below for medium-large pdfs)
Make sure that the document preview is shown
Now drag the same large pdf file again on the previous pdf preview
Click on send
Notice that the pdf file is opened two times and is sent two times
But now repeat the same steps for small pdf files (in KB) or on images and notice that even when you drag the same small pdf file or image at the second time, it doesn't show the preview and the file is not uploaded (unlike the previous case where dragging the large pdf in the second time uploaded the file)
Expected Result:
Either both the large and small pdfs should be allowed to be dragged multiple times even when the preview for the previous pdf is open OR none of them should be allowed to be dragged and be uploaded on the second time
Actual Result:
Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.8.8 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 Notes/Photos/Videos: Any additional supporting documentation
I think we should not allow the second "large" file to be uploaded/queued for preview and the behavior should copy the "small" file upload where you cannot drag and drop a second file on a file upload preview.. curious what the engineer and C+ assigned feels with regards to that!
changed the title [-]Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images[/-][+][$1000] Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images[/+]on May 2, 2023
changed the title [-][$1000] Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images[/-][+][HOLD for payment 2023-05-22] [$1000] Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images[/+]on May 15, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.13-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-05-22. 🎊
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.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty
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:
[@parasharrajat] The PR that introduced the bug has been identified. Link to the PR:
[@parasharrajat] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@parasharrajat] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@parasharrajat] Determine if we should create a regression test for this bug.
[@parasharrajat] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
This is a new find. We never prevented such behavior in the past so it is not a regression.
[@parasharrajat] The PR that introduced the bug has been identified. Link to the PR: NA
[@parasharrajat] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: NA
[@parasharrajat] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: NA
[@parasharrajat] Determine if we should create a regression test for this bug. YES
[@parasharrajat] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Received $1500, thanks. This includes the 50% bonus, but there was a regression with my PR which caused a deploy blocker. Considering this falls within the regression period according to the contributor guide, I shouldn't have received this bonus. Is there an exception here or is there anything I need to do?
Gahhh, my mistake on the overpayment. I believe there is a refund feature in Upwork. Mind checking that out for me @akinwale@parasharrajat ? Sorry about that, I appreciate the catch
Gahhh, my mistake on the overpayment. I believe there is a refund feature in Upwork. Mind checking that out for me @akinwale@parasharrajat ? Sorry about that, I appreciate the catch
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
MelvinBot commentedon Apr 30, 2023
Triggered auto assignment to @MitchExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.MelvinBot commentedon Apr 30, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)MitchExpensify commentedon May 2, 2023
I am unable to reproduce this
MitchExpensify commentedon May 2, 2023
Somewhat curiously I was unable to reproduce this when testing with the IELTS file but could reproduce this with the "Power of your subconscious" file
MitchExpensify commentedon May 2, 2023
I think we should not allow the second "large" file to be uploaded/queued for preview and the behavior should copy the "small" file upload where you cannot drag and drop a second file on a file upload preview.. curious what the engineer and C+ assigned feels with regards to that!
[-]Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images[/-][+][$1000] Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images[/+]MelvinBot commentedon May 2, 2023
Job added to Upwork: https://www.upwork.com/jobs/~017d5dc9ec54d81805
MelvinBot commentedon May 2, 2023
Current assignee @MitchExpensify is eligible for the External assigner, not assigning anyone new.
43 remaining items
[-][$1000] Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images[/-][+][HOLD for payment 2023-05-22] [$1000] Large pdf files are allowed to be dragged multiple times and the preview automatically opens up the second time unlike the smaller pdf files and images[/+]melvin-bot commentedon May 15, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.13-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-05-22. 🎊
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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon May 15, 2023
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:
MitchExpensify commentedon May 23, 2023
Everyone's paid! Thanks again
@parasharrajat if you could identify the PR that introduced the bug as a next step, that'd be great!
parasharrajat commentedon May 23, 2023
This is a new find. We never prevented such behavior in the past so it is not a regression.
[@parasharrajat] The PR that introduced the bug has been identified. Link to the PR: NA
[@parasharrajat] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: NA
[@parasharrajat] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: NA
[@parasharrajat] Determine if we should create a regression test for this bug. YES
[@parasharrajat] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
#18210 (comment)
akinwale commentedon May 23, 2023
Received $1500, thanks. This includes the 50% bonus, but there was a regression with my PR which caused a deploy blocker. Considering this falls within the regression period according to the contributor guide, I shouldn't have received this bonus. Is there an exception here or is there anything I need to do?
parasharrajat commentedon May 23, 2023
Regression Test Steps
Do you agree 👍 or 👎 ?
thienlnam commentedon May 23, 2023
cc @MitchExpensify
Seems that we've missed a regression deduction
#18210 (comment)
#18210 (comment)
MitchExpensify commentedon May 24, 2023
Gahhh, my mistake on the overpayment. I believe there is a refund feature in Upwork. Mind checking that out for me @akinwale @parasharrajat ? Sorry about that, I appreciate the catch
akinwale commentedon May 24, 2023
Refunded $500.
parasharrajat commentedon May 24, 2023
Refunded $1000
MitchExpensify commentedon May 25, 2023
Thank you both! Request the test be added here https://github.com/Expensify/Expensify/issues/286533