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

Material File's Name with no extension will be regarded as Plain Document upon downloading from Folder #7438

Open
bivanalhar opened this issue Jul 17, 2024 · 0 comments

Comments

@bivanalhar
Copy link
Contributor

How to Reproduce the Issue

  • Upload any file from your computer, preferably with extension (.pdf, .jpg, .docx, etc.)
  • After uploading, edit the filename in the Workbin by deleting the extension
  • Try to click the "Download Entire Folder" located on the top right of the page

You will see the entire folder being downloaded, and upon accessing the said file, it will be rendered as Plain Document and thus not being rendered properly (for example, if the original file is in PDF, then in the plain document format, the display will be messy and cannot be understood)

Suggested Fix

  • Either we don't allow the extension of the file to be deleted (before saving, we need to check if the extension is still there), or
  • Give user the warning before proceeding to edit the filename, should they try attempting to do so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant