emory-libraries / blacklight-catalog

1 stars 0 forks source link

Spike: troubleshoot holdings not showing in Arch #1386

Open tclayton33 opened 5 months ago

tclayton33 commented 5 months ago

Bibframe records in Arch are not displaying inventory (showing print or electronic holdings), even though they have inventory according to the Alma sandbox. Here are some examples: 9937772399902486 9937772300102486 9937772200102486

The inventory information is not missing from the OAI, which points to the issue being somewhere between Alma and Blacklight: https://emory-psb.alma.exlibrisgroup.com/view/oai/01GALI_EMORY/request?verb=GetRecord&identifier=oai:alma.01GALI_EMORY:9937772399902486&metadataPrefix=marc21

https://emory-psb.alma.exlibrisgroup.com/view/oai/01GALI_EMORY/request?verb=GetRecord&identifier=oai:alma.01GALI_EMORY:9937772300102486&metadataPrefix=marc21

https://emory-psb.alma.exlibrisgroup.com/view/oai/01GALI_EMORY/request?verb=GetRecord&identifier=oai:alma.01GALI_EMORY:9937772200102486&metadataPrefix=marc21

tclayton33 commented 5 months ago

Ayoub has investigated and reports (in Incident INC04196523 work note) that the breakdown is occurring at the point of the api call to Alma for real time availability. The xml that is returned is missing the values our code is expecting to indicate if the holdings are physical or electronic ("record/datafield[@tag="AVA"]" OR "record/datafield[@tag="AVE"]/subfield[@code="e"]"). Since neither is present, no holdings are shown.

To verify this is the root issue, Ayoub tested a different record, ID #9937686688802486, which shows availability in Arch, and it does have data for datafield "record/datafield[@tag="AVA"]" in its XML, hence why availability is shown.

We can't fix this on the Blacklight end since we are just reading data from Alma. Next steps are either to open a ticket with ExLibris or check to see if something is different between the configuration of Alma and the Alma Sandbox. @rotated8 and @lisahamlett I'm not sure which is the best next step.

lisahamlett commented 5 months ago

I have verified there is no difference between the OAI configurations for Alma Production and Sandbox.

lisahamlett commented 5 months ago

Here's problem 1... 9937772399902486 is tied to different records in production and sandbox.

Production: Screenshot 2024-02-02 093610

Sandbox: Screenshot 2024-02-02 093804

I recommend using a record that is the same in both systems for comparison.

lisahamlett commented 5 months ago

9937772300102486 is in Sandbox but not in production:

Screenshot 2024-02-02 094225

Once again, I can't compare what's different between the records because the items isn't even in production.

lisahamlett commented 5 months ago

And, of course, 9937772200102486 is also not the same record in Production and Sandbox:

Screenshot 2024-02-02 094411

lisahamlett commented 5 months ago

@tclayton33 In order to tell Ex Libris that we're seeing one thing in production but not in sandbox, I need examples that are the same in both systems and not giving you what you want.

lisahamlett commented 5 months ago

Also, @tclayton33, keep in mind that the Sandbox refresh is February 11 at 3am, so we might want to wait to talk to ExL until after that since the data will be different then.