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

Word Documents are treated as PDF files when trying to display or download #54

Open
dan-omb opened this issue Dec 12, 2023 · 0 comments

Comments

@dan-omb
Copy link
Collaborator

dan-omb commented Dec 12, 2023

Describe the bug
The system treats all documents as PDF when retrieving them from the database. A .pdf extension is applied to the temporary file which causes the browser to return an error.

To Reproduce
Steps to reproduce the behavior:

  1. Upload a word document
  2. Click on the link for the new document
  3. Note the inline display has an error
  4. click on the Download link to see another error

Expected behavior
Since OPAL is intended as a repository and not a tool for working on live attachments. It might make the most sense to limit uploads to PDF or to convert files to PDF on upload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant