Skip to content

[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

Description

@kavimuru

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open web chrome
  2. Go to any chat
  3. 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)
  4. Make sure that the document preview is shown
  5. Now drag the same large pdf file again on the previous pdf preview
  6. Click on send
  7. Notice that the pdf file is opened two times and is sent two times
  8. 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

Recording.175.mp4
pdf-2023-04-29_20.37.10.mp4

Cambridge_IELTS_17_with_Answers_Academic__www.luckyielts.com_ (2) (1).pdf

Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682780909172669

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017d5dc9ec54d81805
  • Upwork Job ID: 1653229585044373504
  • Last Price Increase: 2023-05-02

Metadata

Metadata

Labels

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

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions