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

[HOLD for payment 2024-03-07] [HOLD for payment 2024-03-06] [$500] Android - Chat - Unable to upload pdf file #37240

Closed
1 of 6 tasks
kbecciv opened this issue Feb 26, 2024 · 26 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Feb 26, 2024

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: 1.4.44-0
Reproducible in staging?: y
Reproducible in production?: n

Issue reported by:

Action Performed:

  1. Open the app and log in
  2. Open any chat
  3. Tap the "+" button > Add attachment > Choose document
  4. Select a pdf file

Expected Result:

The preview of the PDF is displayed

Actual Result:

User is returned to the chat, the preview of the PDF is not displayed

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Add any screenshot/video evidence

Bug6393398_1708986911406.video_2024-02-26_17-34-51.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @parasharrajat
@kbecciv kbecciv added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor labels Feb 26, 2024
@melvin-bot melvin-bot bot changed the title Android - Chat - Unable to upload pdf file [$500] Android - Chat - Unable to upload pdf file Feb 26, 2024
Copy link

melvin-bot bot commented Feb 26, 2024

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

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

melvin-bot bot commented Feb 26, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (External)

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 26, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 26, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 26, 2024

Triggered auto assignment to @NikkiWines (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@kbecciv
Copy link
Author

kbecciv commented Feb 26, 2024

We think that this bug might be related to #vip-vsb
@quinthar

@NikkiWines
Copy link
Contributor

Confirmed that this isn't reproducible on iOS staging (1.4.44-0), will test on Android dev to see if it's reproducible there.

@davidcardoza do you know of any PRs related to PDFs that were recently merged/deployed?

@NikkiWines
Copy link
Contributor

NikkiWines commented Feb 27, 2024

Hmm, I'm unable to reproduce on dev so far and don't have an android device to confirm that it's not reproducible on prod.

I don't see any changes to the AddAttachment logic that's still on staging and would be a culprit for this.

@kbecciv what account did you use to send the attachment, I'll check the logs to see if there's anything suspicious

@bernhardoj
Copy link
Contributor

Looks like it's coming from #35164 where we are trying to get image size even though it's a PDF.

@parasharrajat
Copy link
Member

@dukenv0307 Could you please confirm and look for the fix?

@kbecciv
Copy link
Author

kbecciv commented Feb 27, 2024

@NikkiWines Tester's account - applausetester+0119pm1e@applause.expensifail.com

@dukenv0307
Copy link
Contributor

Checking this now.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Feb 27, 2024
@dukenv0307
Copy link
Contributor

@DylanDylann The PR is ready for review.

@NikkiWines
Copy link
Contributor

Oh yeah missed this since that PR was created back in January 😅 does indeed look like that's the likely culprit

@NikkiWines
Copy link
Contributor

this is fixed now! 🎊 thanks @dukenv0307 @parasharrajat

@NikkiWines NikkiWines added the Bug Something is broken. Auto assigns a BugZero manager. label Feb 27, 2024
Copy link

melvin-bot bot commented Feb 27, 2024

Triggered auto assignment to @garrettmknight (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 27, 2024
@DylanDylann
Copy link
Contributor

@parasharrajat Thank you for helping review this PR, I am not available at that time

@garrettmknight
Copy link
Contributor

Will pay out @parasharrajat for the review here. @dukenv0307 will get paid on the original issue.

@garrettmknight garrettmknight added the Awaiting Payment Auto-added when associated PR is deployed to production label Feb 29, 2024
@garrettmknight garrettmknight changed the title [$500] Android - Chat - Unable to upload pdf file [HOLD for payment 2024-03-06] [$500] Android - Chat - Unable to upload pdf file Feb 29, 2024
@garrettmknight garrettmknight added Weekly KSv2 and removed Daily KSv2 Reviewing Has a PR in review Help Wanted Apply this label when an issue is open to proposals by contributors labels Feb 29, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Feb 29, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-03-06] [$500] Android - Chat - Unable to upload pdf file [HOLD for payment 2024-03-07] [HOLD for payment 2024-03-06] [$500] Android - Chat - Unable to upload pdf file Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.45-6 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 2024-03-07. 🎊

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

Copy link

melvin-bot bot commented Feb 29, 2024

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.
  • [@garrettmknight] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@parasharrajat
Copy link
Member

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:

Regression Test Steps

  1. Open any report
  2. Go to any chat.
  3. Click on the plus icon > Add attachment > Choose document
  4. Select a pdf file
  5. The preview of the PDF is displayed

Do you agree 👍 or 👎 ?

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 7, 2024
Copy link

melvin-bot bot commented Mar 7, 2024

Payment Summary

Upwork Job

BugZero Checklist (@garrettmknight)

  • 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

@garrettmknight
Copy link
Contributor

@parasharrajat please request payment!

@garrettmknight garrettmknight added Weekly KSv2 and removed Daily KSv2 labels Mar 7, 2024
@parasharrajat
Copy link
Member

@garrettmknight Please close this issue. I will request it later.

@parasharrajat
Copy link
Member

Payment requested as per #37240 (comment)

@JmillsExpensify
Copy link

$500 approved for @parasharrajat

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. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants