Skip to content

Download file doesn't have the same name as preview #4868

Closed

Description

@isagoico

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Issue is failing PR #4736

Action Performed:

  1. Navigate to staging chat
  2. Upload any word document (docx) or non-preview document
  3. Clicking on download file

Expected Result:

The download file should give the same filename as preview.

Actual Result:

The download file has different name than preview file.

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platform:

Where is this issue occurring?

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

Version Number: 1.0.88-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation
image

Bug5211160_Name.mp4

Expensify/Expensify Issue URL:

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Aug 27, 2021

    @MelvinBot
    Contributor

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

  2. OSBotify commented on Aug 27, 2021

    @OSBotify
    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.
  3. isagoico commented on Aug 27, 2021

    @isagoico
    Author

    @thienlnam @akshayasalvi I noticed this behaviour was present when working on the PR (mentioned here) Should this still be considered a deploy blocker even if it's failing the PR?

  4. parasharrajat commented on Aug 27, 2021

    @parasharrajat
    Member

    Proposal Suggestion

    1. We should pass the filename as a second paramter to the fileDownload method.
    2. fileName is already available as a prop here.
  5. akshayasalvi commented on Aug 27, 2021

    @akshayasalvi
    Contributor

    Yeah. We were not able to test it from localhost. I had recently added the fileName in the param. I’ll be raising the changes for the pr in a while.

  6. parasharrajat commented on Aug 27, 2021

    @parasharrajat
    Member

    Awesome @akshayasalvi. Please tag this issue into your PR as well.

  7. akshayasalvi commented on Aug 27, 2021

    @akshayasalvi
    Contributor

    PR Raised and issue tagged.

  8. Julesssss commented on Aug 27, 2021

    @Julesssss
    Contributor

    I noticed this behaviour was present when working on the PR

    Do we know if this is a regression? I can't recall if this was ever working or not. If not let's remove the deployBlocker label.

  9. parasharrajat commented on Aug 27, 2021

    @parasharrajat
    Member

    So this is something new and issues are found for a new feature then it's good to push the new feature to the prod with fixes. so I think this justifies as a deployBlocker.

  10. Julesssss commented on Aug 27, 2021

    @Julesssss
    Contributor

    Oh, didn't notice this was new. Sure, we just don't want to block the release for something that currently exists in prod.

  11. parasharrajat commented on Aug 27, 2021

    @parasharrajat
    Member

    But it's already being fixed here #4871 so we can just CP it. Should be quick.

  12. akshayasalvi commented on Aug 27, 2021

    @akshayasalvi
    Contributor

    PR is deployed and working.

    image

  13. isagoico commented on Aug 27, 2021

    @isagoico
    Author

    Fix worked! #4871 (comment) removing the deploy blocker label

  14. ctkochan22 commented on Aug 27, 2021

    @ctkochan22

    Looks like we can close this right? Good job @akshayasalvi

  15. akshayasalvi commented on Aug 27, 2021

    @akshayasalvi
    Contributor

    Thank you

  16. botify commented on Aug 30, 2021

    @botify

    🚀 Deployed to staging by @sketchydroide in version: 1.0.88-3 🚀

    platform result
    🤖 android 🤖 cancelled 🔪
    🖥 desktop 🖥 cancelled 🔪
    🍎 iOS 🍎 cancelled 🔪
    🕸 web 🕸 success ✅
  17. botify commented on Aug 30, 2021

    @botify

    🚀 Deployed to production by @roryabraham in version: 1.0.88-2 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 failure ❌
    🕸 web 🕸 success ✅
  18. botify commented on Sep 1, 2021

    @botify

    🚀 Deployed to production by @roryabraham in version: 1.0.90-2 🚀

    platform result
    🤖 android 🤖 success ✅
    🖥 desktop 🖥 success ✅
    🍎 iOS 🍎 failure ❌
    🕸 web 🕸 success ✅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions