Skip to content

[HOLD for payment 2024-02-07] [$500] IOU - Replacing Receipt with an Invalid File Format Does Not Display an Error Message #28343

@lanitochka17

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!


Action Performed:

  1. Login to any account
  2. Send a Money Request to another account, using the Scan Receipt option
  3. Click on the Receipt image to open the preview popup
  4. Click on the “Three dots” icon >> select the “Replace” option
  5. Replace the current image with another image in an unsupported format, such as "webp"
  6. Observe that: there is no error, but when reloading the page, the old image still appears (which indicates that new image is not uploaded)

Expected Result:

In this case, the user has uploaded an invalid image format, so there should be an error message. The file should remain optimistically in Onyx until the user decides to clear the error.

Actual Result:

No error displays.

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.74-2

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

Chrome-Desktop.mp4
Safari-Desktop.mov

8123857_img-0539_720

bandicam.2023-09-28.00-58-54-891.mp4

Expensify/Expensify Issue URL:

Issue reported by: @tranvantoan-qn

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695720594688229

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01bb8307379994bc8e
  • Upwork Job ID: 1707109060385632256
  • Last Price Increase: 2023-10-18
  • Automatic offers:
    • hoangzinh | Reviewer | 27267319
    • tienifr | Contributor | 27267321
    • tranvantoan-qn | Reporter | 27267322

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions