-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2025-02-04] [$250] PR - No error message displayed for greater than 15 mb jpg file #54700
Comments
Triggered auto assignment to @MitchExpensify ( |
@mitarachim @MitchExpensify Sorry for not clarifying the steps in the previous PR. Here, we only display "Attachment is too large - Attachment size is larger than the 10 MB limit" for receipts that are not images. |
@Themoonalsofall Okay thank you for clarify, so should be truly receipt in .jpg or .png ? |
@mitarachim From what I see in the source code, for receipts in image formats like .jpg or .png, we don’t limit the file size. The size restriction only applies to formats like PDF, ZIP, and others. |
@Themoonalsofall already ask tester to re-test. Screen.Recording.2025-01-01.at.3.02.08.PM.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~021874862385024395150 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?For the image, we will resize it if the file is larger than 24MB based on the expected here. So it's expected that no error message displays for the greater than 15MB image. But we have a problem here: the max size image is App/src/libs/fileDownload/FileUtils.ts Line 320 in fdd1db8
App/src/libs/fileDownload/FileUtils.ts Lines 328 to 331 in fdd1db8
What changes do you think we should make in order to solve the problem?We should change App/src/libs/fileDownload/FileUtils.ts Lines 328 to 331 in fdd1db8
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional)Or we can change the App/src/libs/fileDownload/FileUtils.ts Line 320 in fdd1db8
|
It seems this PR (#53902) has been reverted. @dominictb and @madmax330, will this issue be addressed in the new PR, or should we continue evaluating proposals on this issue? |
@mitarachim Please share the attachment used in OP here so we can retest it. For any attachment-related issues, we should always share the attachment as well. Thanks. |
@dominictb 1 file .jpg from tester that i have compress in .zip , please extract if needed that file . |
@mitarachim Thanks for the responsiveness! I will retest with these files and reply here soon whether to continue this issue. |
@jayeshmangwani, @MitchExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Okay I finished retesting with the changes in #54728.
Thus I think we can close this issue then cc @MitchExpensify @jayeshmangwani. I'll ask the author to update test steps to exclude image type due to point (1). |
Do you agree this can be closed @jayeshmangwani ? |
Yes @MitchExpensify, we can close this issue for this PR #54728 |
@MitchExpensify Based on #45448. We should only automatically resize the image > 24MB (Now it's automatically resizing the image > 10MB although |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.89-8 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 2025-02-04. 🎊 For reference, here are some details about the assignees on this issue:
|
@jayeshmangwani @MitchExpensify @jayeshmangwani The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
Payment summary:
Reminder on the BZ steps above, @jayeshmangwani - Thank you! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal
Do we agree 👍 or 👎 |
I don't think we need a specific one for this issue. We already test receipt uploads, which should be enough. |
@luacmartins, @jayeshmangwani, @MitchExpensify, @nkdengineer Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@MitchExpensify, issue is ready to be paid. |
@luacmartins, @jayeshmangwani, @MitchExpensify, @nkdengineer 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Bump for payment @MitchExpensify |
Paid @nkdengineer, @jayeshmangwani needs payment in New Expensify as a next step - Closing |
$250 approved for @jayeshmangwani |
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: v9.0.80-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: #53902
Email or phone of affected tester (no customers): applausetester+en@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Macbook Pro 2023 / Sonoma 14.4.1
App Component: Other
Action Performed:
Expected Result:
Verify that 'Attachment is too large - Attachment size is larger than 10 MB limit' is displayed
Actual Result:
Able to upload the file with no issues
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6704689_1735685408972.PR_53902_Desktop.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @MitchExpensifyThe text was updated successfully, but these errors were encountered: