Skip to content
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] [Due for payment 2025-02-25] [HOLD] Web - Attachment - Console error on preview page of Large PDF uploaded #49819

Open
1 of 6 tasks
IuliiaHerets opened this issue Sep 26, 2024 · 35 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Needs Reproduction Reproducible steps needed retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Sep 26, 2024

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.40-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5006507
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Log into staging.new.expensify.com and open any chat
  2. Tap "+" and tap Add attachment
  3. Upload "Large PDF File"

Expected Result:

No error in console appears

Actual Result:

A console error is shown on PDF preview page.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6615543_1727314388572!LARGE_PDF_FILE.pdf

Bug6615543_1727314388594.Screen_Recording_2024-09-25_at_7.13.58_PM.mp4

image (241)

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021894593784371336669
  • Upwork Job ID: 1894593784371336669
  • Last Price Increase: 2025-02-26
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 26, 2024
Copy link

melvin-bot bot commented Sep 26, 2024

Triggered auto assignment to @mallenexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@IuliiaHerets
Copy link
Author

@mallenexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@mallenexpensify mallenexpensify added Weekly KSv2 and removed Daily KSv2 labels Sep 27, 2024
@mallenexpensify
Copy link
Contributor

Bumping to weekly, will review next week since it's a console error

@melvin-bot melvin-bot bot added the Overdue label Oct 7, 2024
@mallenexpensify
Copy link
Contributor

Console error, not an immediate priority

@melvin-bot melvin-bot bot removed the Overdue label Oct 9, 2024
@mallenexpensify mallenexpensify added the Needs Reproduction Reproducible steps needed label Oct 9, 2024
@MelvinBot
Copy link

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

@CyberAndrii
Copy link
Contributor

I've opened an issue in the upstream repo: mozilla/pdf.js#18876

Copy link

melvin-bot bot commented Oct 10, 2024

@mallenexpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Oct 17, 2024
@mallenexpensify mallenexpensify added the retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause label Oct 22, 2024
@mallenexpensify
Copy link
Contributor

@CyberAndrii , did you upstream PR fix this bug? I just tried to reproduce in Chrome with the file linked in the OP and I didn't see any console errors. Added retest-weekly here too

@melvin-bot melvin-bot bot removed the Overdue label Oct 22, 2024
@CyberAndrii
Copy link
Contributor

I can still reproduce this on staging v9.0.53-1. A new version of pdf.js that includes the fix will be released in about a week.

@melvin-bot melvin-bot bot added the Overdue label Oct 31, 2024
@mallenexpensify
Copy link
Contributor

I'm off the next week, will address this once back.

@melvin-bot melvin-bot bot removed the Overdue label Nov 6, 2024
@melvin-bot melvin-bot bot added the Overdue label Nov 15, 2024
@mallenexpensify
Copy link
Contributor

A new version of pdf.js that includes the fix will be released in about a week.

Reckon we're waiting on this. We have retest-weekly here so we should get a retest soon.

@melvin-bot melvin-bot bot removed the Overdue label Nov 20, 2024
@melvin-bot melvin-bot bot added the Overdue label Nov 28, 2024
@mallenexpensify
Copy link
Contributor

Still kicking a can here, we're starting part deux for console error cleanup so this might be picked up there

@kubabutkiewicz
Copy link
Contributor

I will take a look, since pdfjs-dist was already upgraded and the fix is there for that, so for me it seems to be different problem than before.

@kubabutkiewicz
Copy link
Contributor

Expensify/react-fast-pdf#46
I found the fix, @francoisl would you be able to review this PR ?

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Feb 11, 2025
Copy link

melvin-bot bot commented Feb 13, 2025

Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@hungvu193
Copy link
Contributor

@mallenexpensify Can you please assign me here as I reviewed the linked PR? ty

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 18, 2025
@melvin-bot melvin-bot bot changed the title [HOLD] Web - Attachment - Console error on preview page of Large PDF uploaded [Due for payment 2025-02-25] [HOLD] Web - Attachment - Console error on preview page of Large PDF uploaded Feb 18, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 18, 2025
Copy link

melvin-bot bot commented Feb 18, 2025

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Feb 18, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.99-2 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-25. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Feb 18, 2025

@hungvu193 @mallenexpensify @hungvu193 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]

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 24, 2025
@hungvu193
Copy link
Contributor

This issue is a part of the bigger issue, so I think we only need to propose the regression test here:

Regression Test:

  1. Go to any chat
  2. Click Add attachment.
  3. Use this https://github.com/user-attachments/files/17156100/Bug6615543_1727314388572.LARGE_PDF_FILE.pdf attachment and
  4. Verify that the attachment is uploaded successfully and no console errors appear.

Do we 👍 or 👎 ?

Copy link

melvin-bot bot commented Feb 25, 2025

Payment Summary

Upwork Job

BugZero Checklist (@mallenexpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@mallenexpensify mallenexpensify added the External Added to denote the issue can be worked on by a contributor label Feb 26, 2025
@melvin-bot melvin-bot bot changed the title [Due for payment 2025-02-25] [HOLD] Web - Attachment - Console error on preview page of Large PDF uploaded [$250] [Due for payment 2025-02-25] [HOLD] Web - Attachment - Console error on preview page of Large PDF uploaded Feb 26, 2025
Copy link

melvin-bot bot commented Feb 26, 2025

Job added to Upwork: https://www.upwork.com/jobs/~021894593784371336669

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 26, 2025
Copy link

melvin-bot bot commented Feb 26, 2025

Current assignee @hungvu193 is eligible for the External assigner, not assigning anyone new.

@mallenexpensify
Copy link
Contributor

@hungvu193 can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~021894593784371336669

Test case, thx @hungvu193
https://github.com/Expensify/Expensify/issues/474385

@hungvu193
Copy link
Contributor

@hungvu193 can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~021894593784371336669

Cool. I've just accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Needs Reproduction Reproducible steps needed retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause
Projects
None yet
Development

No branches or pull requests

8 participants