Open jillpe opened 2 months ago
Timebox to ~2 days
I'm able to replicate the same error in PALs demo. I am not able to replicate on Hyarx e1160bb
. I am not able to replicate this on Hyku main
.
This may be an issue related to knapsacks (although I don't think pals demo is running knapsack).
Clicking the first download option ("Whole image 1000 x 1291px (jpg)" input#wholeImageLowRes
) opens a new tab with the following link and throws a 404 error:
Clicking the second download option ("Whole image 7288 x 9416px (?)" input#wholeImageHighRes
) opens a new tab with the following URL and correctly renders the expected image:
The difference is the successful URL includes /images
after the base; manually adding /images
to the failing URL renders the image as expected:
I traced the issue down to the Universal Viewer's JS. Both options have different ways of determining the correct URL. The path that fails calls getInfoUri()
, which returns "lib/imageunavailable.json"
, which ultimately gets transformed into an empty string.
My best guess is the issue stems from a misconfiguration and/or a malformed manifest since canvas.getImages()
returns an empty Array.
Truman said the JPEGs are loading normally now, but when they click the download link in the lower left corner they get a "page you were looking for doesn't exist" error.
Examples: https://truman.digitalmobius.org/concern/mobius_works/00430380-f3af-4ddf-bd40-2da9068e7558?locale=en
https://truman.digitalmobius.org/concern/mobius_works/01ea679f-f0d3-4718-8a02-b729e7846413?locale=en
https://truman.digitalmobius.org/concern/mobius_works/01b98494-600c-486b-bc72-64473de1feae?locale=en