dulibrarytech / digitaldu-frontend

Digital Collections DU front end
Apache License 2.0
3 stars 0 forks source link

IIIF manifest includes incorrect Cantaloupe url when the api key parameter is included #385

Closed jrynhart closed 2 years ago

jrynhart commented 2 years ago

When requesting the manifest from the frontend /iiif endpoint with the api param included, the image source uri in the manifest contains "___null" for some reason.

The api key value may not be getting to the function that builds the source uri

jrynhart commented 2 years ago

The api key is fine, the filename is incorrect

jrynhart commented 2 years ago

Determined this is happening with or without the use of an api key. It is caused by an object with no path value in the index Need error handling in place for these objects, loading the manifest in the viewer can cause no object load and no UI feedback

jrynhart commented 2 years ago

Updated to not append a filename if the object path is missing, manifest will display uri with pid only, no filename/delimiter