Skip to content

[$500] Video file is unusable when editing name #36828

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!


Version Number: 1.4.43-0
Reproducible in staging?: y
Reproducible in production?: new feature
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
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

  1. Send a video
  2. Edit the video name, and leave the file type extension unedited

Expected Result:

Video file shouldn't be lost or user shouldn't be able to edit the name

Actual Result:

Video file is lost

Workaround:

unknwon

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6385214_1708393282361.Screen_Recording_2024-02-16_at_4.00.11_in_the_afternoon.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0100912197a0a59053
  • Upwork Job ID: 1759792164480184320
  • Last Price Increase: 2024-02-20

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    ExternalAdded to denote the issue can be worked on by a contributor
    BugSomething is broken. Auto assigns a BugZero manager.
    on Feb 20, 2024
  2. changed the title [-]Video file is unusable when editing name[/-] [+][$500] Video file is unusable when editing name[/+] on Feb 20, 2024
  3. melvin-bot commented on Feb 20, 2024

    @melvin-bot
  4. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Feb 20, 2024
  5. melvin-bot commented on Feb 20, 2024

    @melvin-bot

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

  6. melvin-bot commented on Feb 20, 2024

    @melvin-bot

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

  7. github-actions commented on Feb 20, 2024

    @github-actions
    Contributor

    👋 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.
  8. 2 remaining items

  9. kavimuru commented on Feb 20, 2024

    @kavimuru
    Author

    we think this bug might be related to #vip-vsb
    cc @quinthar

  10. shubham1206agra commented on Feb 20, 2024

    @shubham1206agra
    Contributor

    Proposal

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

    Video file is unusable when editing name

    What is the root cause of that problem?

    We should not allow editing video upload same as pdf files.

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

    Disable edit operation on video upload comment. Update canEditReportAction to give false on video comment.

    What alternative solutions did you explore? (Optional)

  11. habasefa commented on Feb 20, 2024

    @habasefa

    Proposal

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

    Video file is unusable when editing name

    What is the root cause of that problem?

    The comment should not update the file name of the video, but a separate prop.

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

    Add a prop that will have the video file name as the default but can be independantly edited.

    What alternative solutions did you explore? (Optional)

  12. shubham1206agra commented on Feb 20, 2024

    @shubham1206agra
    Contributor

    @techievivek Can you check if this can be fixed from the Backend as the message should be [Attachment] instead of the filename?

  13. mkhutornyi commented on Feb 20, 2024

    @mkhutornyi
    Contributor

    This looks similar to #35578
    Ideally, this should be fixed in backend as I said here

  14. techievivek commented on Feb 20, 2024

    @techievivek
    Contributor

    @shubham1206agra Taking a look now, thanks.

  15. techievivek commented on Feb 20, 2024

    @techievivek
    Contributor

    @shubham1206agra

    @techievivek Can you check if this can be fixed from the Backend as the message should be [Attachment] instead of the filename?

    You meant when the user clicks on the edit button we should be showing [Attachment] rather than displaying the file name?

  16. shubham1206agra commented on Feb 20, 2024

    @shubham1206agra
    Contributor

    @shubham1206agra

    @techievivek Can you check if this can be fixed from the Backend as the message should be [Attachment] instead of the filename?

    You meant when the user clicks on the edit button we should be showing [Attachment] rather than displaying the file name?

    No, I mean text format of message should come as [Attachment] from BE which same as pdf attachment.

  17. mollfpr commented on Feb 20, 2024

    @mollfpr
    Contributor

    I don’t understand the purpose of editing the video comment.

    @techievivek Are this feature that expected to be working for a video message?

  18. techievivek commented on Feb 20, 2024

    @techievivek
    Contributor

    Yes, I agree. We should disable editing the comment from the frontend. However, for completeness, we should also address this on the backend to handle potential requests from other clients correctly.

  19. mollfpr commented on Feb 20, 2024

    @mollfpr
    Contributor

    Seems a good plan for me 👍

    I think we can handled the issue here #35578

  20. techievivek commented on Feb 20, 2024

    @techievivek
    Contributor

    This shouldn't block the deploy IMO, and I agree we can handle this as part of #35578

  21. techievivek commented on Feb 20, 2024

    @techievivek
    Contributor

    Going to close this now, we are handling this here #35578 (comment)

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsHourlyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions