Skip to content

Chat - "Unable to load pdf file" notification is not displayed #20523

Description

@lanitochka17

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


Issue found when executing PR #19946

Action Performed:

  1. Go to expensify web and login with User A
  2. Go to any chat with User B (Make sure to login with User B on android earlier)
  3. From User A account, send two attachments in the order: First send the password protected pdf file and then send any image
  4. Very important step- On Android (User B), first select the last attachment (image) and click on left arrow key to navigate to the password-protected pdf (do not slide using fingers). Note: Also, it's important to navigate from different attachments, as we're doing here, then only it will be reproducible
  5. From User's A account on web, now delete the pdf file
  6. Go to Android(User B) and now click Enter the password

Expected Result:

'Unable to load pdf file' should be displayed when user try to open the PDF after being deleted by user B

Actual Result:

The navigation preview is asking to enter the password when the file is already deleted.

Workaround:

Unknown

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.26.1

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Bug6086832_19946_2.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2

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