buda-base / buda-iiif-presentation

iiif presentation (collections and manifests) generation
Apache License 2.0
0 stars 0 forks source link

Unexpected 404 #87

Closed MarcAgate closed 4 years ago

MarcAgate commented 4 years ago

I get a 404 when requesting http://iiifpres-dev.bdrc.io/wv:bdr:MW3CN6516/manifest and the returned page displays (as is) : "\"Cannot find volume ID\""

However, the log says something was found for the given resource :

getFromCache: wi:bdr:MW3CN6516
[2020-03-27 14:31:37,872 DEBUG] if.presentation.resservices.ServiceCache:  42 [http-nio-13480-exec-5] - got object in cache for key: wi:bdr:MW3CN6516
[2020-03-27 14:31:37,872 DEBUG] on.resservices.ConcurrentResourceService: 118 [http-nio-13480-exec-5] - found non-empty cache for bdr:MW3CN6516
[2020-03-27 14:31:37,872 DEBUG] iif.presentation.IIIFPresentationService: 246 [http-nio-13480-exec-5] - for wv:bdr:MW3CN6516 got workInfo {"partIndex":null,"partQname":null,"labels":[{"@value":"ngo mtshar gser snye'i dgongs rgyan bdud rtsi sngo yi me long /","@language":"bo-x-ewts"}],"parts":null,"location":null,"linkToQname":null,"linkToTypeLname":null,"rootAccess":"FAIR_USE","rootRestrictedInChina":false,"rootStatusUri":"http://purl.bdrc.io/admindata/StatusReleased","isRoot":true,"rootInstanceQname":null,"creatorLabels":null,"hasLocation":false,"firstImageGroupQname":null,"imageInstanceId":"bdr:W3CN6516","isVirtual":false}
[2020-03-27 14:31:37,873 DEBUG] eb.context.request.async.WebAsyncManager: 472 [http-nio-13480-exec-5] - Started async request
[2020-03-27 14:31:37,873 DEBUG] gframework.web.servlet.DispatcherServlet:1106 [http-nio-13480-exec-5] - Exiting but response remains open for further handling
[2020-03-27 14:31:37,874 DEBUG] eb.context.request.async.WebAsyncManager: 388 [task-222] - Async result set, dispatch to /wv:bdr:MW3CN6516/manifest
[2020-03-27 14:31:37,874 DEBUG] gframework.web.servlet.DispatcherServlet:  91 [http-nio-13480-exec-2] - "ASYNC" dispatch for GET "/wv:bdr:MW3CN6516/manifest", parameters={}
[2020-03-27 14:31:37,875 DEBUG] .annotation.RequestMappingHandlerAdapter:  91 [http-nio-13480-exec-2] - Resume with async result []
[2020-03-27 14:31:37,875 DEBUG] gframework.web.servlet.DispatcherServlet:1126 [http-nio-13480-exec-2] - Exiting from "ASYNC" dispatch, status 404
MarcAgate commented 4 years ago

Fixed in library (now using collection endpoint)