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

PDF previewer #51

Closed
mb-wali opened this issue Jan 9, 2020 · 0 comments · Fixed by #52
Closed

PDF previewer #51

mb-wali opened this issue Jan 9, 2020 · 0 comments · Fixed by #52
Assignees
Labels
bug Something isn't working

Comments

@mb-wali
Copy link
Contributor

mb-wali commented Jan 9, 2020

I have tried to upload a pdf file to a specific record. uploading worked fine 👍 , i can also download the file from the record.

BUT the issue is viewing the pdf file.

console error

[2020-01-09 15:28:44,376] WARNING in views: Preview failed for test.pdf, in recid:d46f9-vz793
raise BuildError(endpoint, values, method, self)
werkzeug.routing.BuildError: Could not build url for endpoint 'invenio_records_ui.recid_files' with values ['filename', 'pid_value']. Did you mean 'invenio_records_ui.recid_file' instead?

screenshot from postman:

postman pdf

screenshot from record page.

screenshotpdfIssue

@ppanero ppanero self-assigned this Jan 10, 2020
@ppanero ppanero added this to To do in InvenioRDM January Board via automation Jan 10, 2020
@ppanero ppanero moved this from To do to In progress in InvenioRDM January Board Jan 10, 2020
@ppanero ppanero moved this from In progress to In Review in InvenioRDM January Board Jan 10, 2020
@ppanero ppanero added this to To do in InvenioRDM February Board via automation Jan 23, 2020
@ppanero ppanero removed this from In Review in InvenioRDM January Board Jan 23, 2020
@lnielsen lnielsen added the bug Something isn't working label Jan 29, 2020
InvenioRDM February Board automation moved this from To do to Done Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants