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

Chat - Error message appears when uploaded the PDF file offline #14836

Closed
6 tasks done
kbecciv opened this issue Feb 4, 2023 · 7 comments
Closed
6 tasks done

Chat - Error message appears when uploaded the PDF file offline #14836

kbecciv opened this issue Feb 4, 2023 · 7 comments
Assignees
Labels
DeployBlockerCash This issue or pull request should block deployment Engineering Hourly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Feb 4, 2023

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. Launch App or go to staging.new.expensify.com/
  2. Login with any account
  3. Go to any chat
  4. Disable the internet connection in the device
  5. Send PDF file to the conversation
  6. Wait a few seconds and go back online

Expected Result:

After returning to online, the attachment must be display

Actual Result:

Error message appears when uploaded the PDF file offline

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

Reproducible in staging?: Yes

Reproducible in production?: No

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

Bug5924920_Screen_Recording_20230204_202657_New_Expensify.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Feb 4, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Feb 4, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Feb 4, 2023

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

@melvin-bot melvin-bot bot unlocked this conversation Feb 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Feb 4, 2023

Triggered auto assignment to @Luke9389 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@melvin-bot melvin-bot bot locked and limited conversation to collaborators Feb 4, 2023
@Expensify Expensify unlocked this conversation Feb 6, 2023
@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

So I am actually wondering if the upload has been working in production, since we added this change #14736 to introduced this generic upload failure message (hence why it cannot be reproduced in production). So maybe this fails in production as well but we just did not handle the failure correctly so this would be error of its own. cc @iwiznia

@iwiznia
Copy link
Contributor

iwiznia commented Feb 6, 2023

The error message should not be shown unless the request failed, so I don't think that's the issue?

@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2023

I was not able to reproduce, asking for help here

@iwiznia
Copy link
Contributor

iwiznia commented Feb 6, 2023

Can't reproduce either

@iwiznia iwiznia closed this as completed Feb 6, 2023
@aldo-expensify
Copy link
Contributor

In the video we see that they upload first and then disable the connection while the upload has not finished yet. This is slightly different than the step described because the request was sent, maybe that is why you couldn't reproduce.

I don't think we are supposed to handle this case so I agree with closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DeployBlockerCash This issue or pull request should block deployment Engineering Hourly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants