eXtensibleCatalog / Metadata-Services-Toolkit

Tools for processing and aggregating metadata
Other
6 stars 3 forks source link

Get Record Issue when use an ID of a deleted record #412

Open patrickzurek opened 7 years ago

patrickzurek commented 7 years ago

JIRA issue created by: rcook Originally opened: 2012-04-30 04:01 PM

Issue body: (nt)

patrickzurek commented 7 years ago

JIRA Coment by user: rcook JIRA Timestamp: 2012-04-30 04:02 PM

Comment body:

This issue to address the middle issue, the Get Record issue below.

-----Original Message----- From: Péter Király [mailto:kirunews@gmail.com] Sent: Thursday, April 26, 2012 5:40 PM To: Cook, Randall Cc: Delis, Christopher; Arbelo, Ralph; Lindahl, David; Wesley, MT Subject: Re: another MST error?

I guess my reports were not clear enough. We have three different bugs:

Hope this helps.

Péter

2012/4/26 Cook, Randall rcook@library.rochester.edu:

Chris, I think it is fine to do. And thanks for your help, I absolutely appreciate it.

Up until now, Peter has usually only done controlled harvests. For example, full harvest from a T0 state, that didn’t contain any deletes. Then, in T1 and T2, the deletes he got were true deletes. Now he is harvesting from a live MST that has been in operation for a while, and with his initial harvest request, the “give me everything� request, it is returning all the deletes that have happened. I am not clear on why this in general is causing a problem. So Peter tried to look at a specific record that is deleted, and got the 0 length issue.

Peter, the Get Record when you list the ID of a deleted record seems like a bug in general and should be fixed, but is this really a “stopper� problem for you? In a typical harvest request from DT, you would never specify the metadata id would you? It’s always a date range. Can you elaborate in the “stopper� here in case I am not the only one confused.

patrickzurek commented 7 years ago

JIRA Coment by user: rcook JIRA Timestamp: 2012-05-01 05:35 PM

Comment body:

Chris, let me know if you want this elsewhere, but I wanted it out of undecided.

patrickzurek commented 7 years ago

JIRA Comment by user: Chris Delis (cedelis) JIRA Timestamp: 2012-05-14 10:35 AM

Comment body:

I fixed this while working on MST-277. It's already in svn trunk.

patrickzurek commented 7 years ago

JIRA Comment by user: Chris Delis (cedelis) JIRA Timestamp: 2014-12-10 11:19 AM

Comment body:

I've noticed that when I GetRecord on a deleted record, I do not receive a deleted status in the header.

E.g.,

http://MST_URL/pub/marcnormalization/oaiRepository?verb=GetRecord&metadataPrefix=marc21&identifier=oai:carli.illinois.edu:MetadataServicesToolkit/marcnormalization/72776228

should return "deleted" if the record is in fact deleted. It is currently missing.