Skip to content

Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message #9164

Closed

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. Launch App as login user
  2. Select any chat
  3. Sent attachment file with .ps

Expected Result:

File should be sent or if the file type is not supported proper error message should appear.

Actual Result:

Endless loading spinner appears and after a while attachment disappeared.

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.1.66-1
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): rybkina@gmail.com / Qwerty123
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5584550_Screen_Shot_2022-05-24_at_6 12 51_PM

Bug5584550_ps.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

View all open jobs on GitHub

Activity

  1. melvin-bot commented on May 24, 2022

    @melvin-bot

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

  2. kbecciv commented on May 25, 2022

    @kbecciv

    @Gonals Also we have the same behavior for mp3 file as well.

    Bug5578199_trim.188F3C22-0BB2-4BE7-99CA-D281B7F16E68.1.mp4
  3. added
    Improvement
    Weekly
    External
    and removed
    Daily
    on May 26, 2022
  4. melvin-bot commented on May 26, 2022

    @melvin-bot

    Triggered auto assignment to @Christinadobrzyn (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  5. added
    Daily
    and removed
    Weekly
    on May 26, 2022
  6. removed their assignment
    on May 26, 2022
  7. Gonals commented on May 26, 2022

    @Gonals
    Contributor

    I think this can be external!

  8. 33 remaining items

  9. aldo-expensify commented on Jun 10, 2022

    @aldo-expensify
    Contributor

    There are a huge number of extensions out there and the approach of allowing them one by one doesn't seem to scale well. It doesn't make sense for me to block files just because we don't have the extension in our list. If we care about blocking some extensions, I would do a list of blocked extension and allow the rest.

    The approach of allowing the through a list made more sense to me in the context of the Old Expensify app, because it was just used to share receipts (afaik). I'll ask for other opinions in slack.

    Regarding 2), I think it makes some sense to duplicate the check in the front end and block the user before sending the request with the file... this is similar to form validations done in the front and back, but I see it as low priority.

    Regarding 3), my guess is that we will never be able to prevent 100% someone sending a "virus", so it should be always good to have some "clause somewhere that we are not responsible for content shared" (no matter if we try to scan for virus or not). Scanning for virus is nice to have I would say, but I'm don't know if we already have some of that implemented or if it is difficult to implement.

  10. Christinadobrzyn commented on Jun 13, 2022

    @Christinadobrzyn
    Contributor

    What @parasharrajat said is right. This isn't reported by an external contributor and is fixed internally. Hence we don't need any Upwork jobs here.

    Ah, thank you for confirming! Sorry for the confusion. I removed the job in Upwork.

  11. removed
    Help Wanted
    on Jun 13, 2022
  12. changed the title [-][$250] Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message[/-] [+]Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message[/+] on Jun 13, 2022
  13. mvtglobally commented on Jun 21, 2022

    @mvtglobally

    Issue not reproducible during KI retests. (First week)

  14. aldo-expensify commented on Jun 21, 2022

    @aldo-expensify
    Contributor

    I asked for opinions in slack here. I'll try to put some work on this later this week

  15. mvtglobally commented on Jun 28, 2022

    @mvtglobally

    Issue not reproducible during KI retests. (Second week) for original file formats

  16. aldo-expensify commented on Jun 29, 2022

    @aldo-expensify
    Contributor

    Haven't got time to work on this again yet

  17. aldo-expensify commented on Jun 30, 2022

    @aldo-expensify
    Contributor

    I'm going to close this issue because the original upload problems related to the specific file types .mp3/.ps was solved in the backend.

    Improving the front end feedback on failure will be done with the refactoring that is happening here: https://github.com/Expensify/Expensify/issues/211241 / #9556
    I don't think it is worth doing it now because it will probably have to be undone.

    I created a new GH issue for updating how we handle file types in the backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

EngineeringExternalImprovementWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions