emory-libraries / blacklight-catalog

1 stars 2 forks source link

Double check deleted record status #1320

Closed rotated8 closed 1 year ago

rotated8 commented 1 year ago

When we encounter a records Alma claims is deleted, attempt to retrieve a current version of the record to confirm deletion.

According to the OAI spec, the datestamp of a deleted record is the date when it was deleted. Therefore, we can confirm a record has truly been deleted if, after attempting to get the single record, we either get an error for the id not existing, or the datestamp of the record returned is not after the original datestamp.

If the record returned has a newer datestamp, it should be processed as normal.

lovinscari commented 1 year ago

@tclayton33 will follow up on this to confirm the work is completed/accepted and close this ticket.