-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$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. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] 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): [email protected]
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: @jayeshmangwaniThe text was updated successfully, but these errors were encountered: