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 https://github.com/Expensify/Web-Expensify/pull/38169] Chat - Unexpected error message when trying to upload a CSV file #22849

Closed
3 of 6 tasks
lanitochka17 opened this issue Jul 13, 2023 · 13 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 13, 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. Open iOS/Android/Desktop App or navigate to staging.new.expensify.com
  2. Login with any account
  3. Go to any conversation
  4. Select ''+'' button > Add attachment
  5. Send an CSV file

Expected Result:

The user should be able to upload and send a CSV file without errors

Actual Result:

When attempting to send a CSV file, the app returns an error message stating that the attachment is invalid

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome
  • MacOS / Desktop

Version Number: 1.3.40.3

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

Bug6127163_Desktop_app_-_CSV_file.mp4

Expensify/Expensify Issue URL:

Issue reported by: Aplause - Internal Team

Slack conversation:

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~014d938cefb22022fc
  • Upwork Job ID: 1679935282985816064
  • Last Price Increase: 2023-07-14
@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jul 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 13, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jul 13, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@hungvu193
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Chat - Unexpected error message when trying to upload a CSV file

What is the root cause of that problem?

We're not allowing csv file from backend, as the backend responded it's "Invalid attachment file":

Screen Shot 2023-07-14 at 06 58 38

What changes do you think we should make in order to solve the problem?

Incase we want it consistent with the backend, we can add 'csv' as a unallowed extension here

What alternative solutions did you explore? (Optional)

N/A

@joekaufmanexpensify
Copy link
Contributor

I can reproduce on web. This seems like maybe it's a regression, as I see @youssef-lr had previously worked on an issue here, where I see we added support for CSVs.

@joekaufmanexpensify joekaufmanexpensify added the External Added to denote the issue can be worked on by a contributor label Jul 14, 2023
@melvin-bot melvin-bot bot changed the title Chat - Unexpected error message when trying to upload a CSV file [$1000] Chat - Unexpected error message when trying to upload a CSV file Jul 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 14, 2023

Job added to Upwork: https://www.upwork.com/jobs/~014d938cefb22022fc

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 14, 2023

Current assignee @joekaufmanexpensify is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jul 14, 2023

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

@youssef-lr youssef-lr added the Internal Requires API changes or must be handled by Expensify staff label Jul 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 14, 2023

Current assignee @fedirjh is eligible for the Internal assigner, not assigning anyone new.

@youssef-lr youssef-lr removed External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Jul 14, 2023
@youssef-lr
Copy link
Contributor

We merged a PR in the backend that should fix this.

@melvin-bot melvin-bot bot added the Overdue label Jul 17, 2023
@joekaufmanexpensify
Copy link
Contributor

Ah okay cool. @youssef-lr mind linking the PR here so I can take a look?

@melvin-bot melvin-bot bot removed the Overdue label Jul 17, 2023
@youssef-lr
Copy link
Contributor

@joekaufmanexpensify
Copy link
Contributor

Sounds great, thanks! I'll leave this open for now. Then, once that PR is deployed, I'll verify that it did in fact fix this bug, and then close out the issue, if so.

@joekaufmanexpensify joekaufmanexpensify changed the title [$1000] Chat - Unexpected error message when trying to upload a CSV file [hold for https://github.com/Expensify/Web-Expensify/pull/38169] Chat - Unexpected error message when trying to upload a CSV file Jul 17, 2023
@joekaufmanexpensify joekaufmanexpensify added Weekly KSv2 and removed Daily KSv2 labels Jul 17, 2023
@joekaufmanexpensify
Copy link
Contributor

I see the above PR was deployed. Just tested this on my end, and this bug is now fixed. Closing as this is all set!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants