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

Image uploads #3987

Closed
chenejac opened this issue May 27, 2024 · 0 comments · Fixed by #3988 or vivo-project/Vitro#468
Closed

Image uploads #3987

chenejac opened this issue May 27, 2024 · 0 comments · Fixed by #3988 or vivo-project/Vitro#468
Assignees
Milestone

Comments

@chenejac
Copy link
Contributor

Describe the bug
Image uploads is broken for non administrators. Reported by @gneissone

Anyone having trouble with image uploads with recent versions of VIVO? I'm getting these errors in the logs:
2024-05-13 19:09:33,509 ERROR [FileInfo] File had no filename: 'https://researchers.mydomain.edu/individual/n23090'
2024-05-13 19:09:33,510 INFO [FileServingServlet] Failed to serve the file at '/file/n50145/thumbnail_totoro.jpg' -- edu.cornell.mannlib.vitro.webapp.filestorage.serving.FileServingServlet$FileServingException: The request path is not valid for the File servlet: '/file/n50145/thumbnail_totoro.jpg'
Images work if I'm logged in as an admin and do a hard refresh, otherwise they appear broken.

To Reproduce
Steps to reproduce the behavior:

  1. Run VIVO
  2. Log in as a self editor
  3. Upload an image for a profile
  4. Check logs and see error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants