<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Alan,</p>
<p>Items that have never been live should not appear in any sets.
Even if they do appear in a set, the individual item request
should return idDoesNotExist if they have never been live. <br>
</p>
<p>I was not sure whether Primo periodically proactively checks
individual items it has imported to see if their metadata / status
has changed. From what Iain says, this sounds like it is not the
case.</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<div class="moz-cite-prefix">On 15/04/2021 16:16, Alan.Stiles via
Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|59372fc2b15a1dd5ec3d3a1422cc9fefx3EGIE14eprints-tech-bounces|ecs.soton.ac.uk|B0717178-069D-4502-B159-47427DCF068D@open.ac.uk">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}</style>
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970;
background-color:#F7F9FA; color:#8D3970; font-size:14px;
line-height:22px; font-family: Calibri, Arial, Helvetica,
sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the
University of Southampton.
</div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks
David,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Unfortunately,
it looks like historically the destroy option has been
available to the repository admins alongside the delete
option, so we have quite a few where that option has been
taken, though I think mostly they are not records that
have ever been live, which is probably okay. I have a
feeling I might be changing the permissions on the destroy
option in the near future…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I’ll
check with our folks who deal with Primo as to whether
they can do anything at their end of things with regards
to how Primo treats those records (if it even sees them –
it might not see the destroyed record if it’s harvesting a
specific set).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Alan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"><eprints-tech-bounces@ecs.soton.ac.uk></a>
on behalf of <a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk">"eprints-tech@ecs.soton.ac.uk"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk"><eprints-tech@ecs.soton.ac.uk></a><br>
<b>Reply to: </b><a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk">"eprints-tech@ecs.soton.ac.uk"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk"><eprints-tech@ecs.soton.ac.uk></a>, David R Newman
<a class="moz-txt-link-rfc2396E" href="mailto:drn@ecs.soton.ac.uk"><drn@ecs.soton.ac.uk></a><br>
<b>Date: </b>Thursday, 15 April 2021 at 16:04<br>
<b>To: </b><a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk">"eprints-tech@ecs.soton.ac.uk"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk"><eprints-tech@ecs.soton.ac.uk></a>, "Alan. Stiles"
<a class="moz-txt-link-rfc2396E" href="mailto:alan.stiles@open.ac.uk"><alan.stiles@open.ac.uk></a><br>
<b>Subject: </b>Re: [EP-tech] OAI2 deleted vs destroyed
records<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div style="mso-element:para-border-div;border:solid black
1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt;background:#FFFFCC">
<p style="background:#FFFFCC;border:none;padding:0cm"><span style="font-family:"Arial",sans-serif;color:black">CAUTION:
This mail comes from outside the University. Please
consider this before opening attachments, clicking
links, or acting on the content.
</span><span style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
</div>
<div>
<p>Hi Alan,<o:p></o:p></p>
<p>If previously live records have been completely removed
rather than retired then you can expect bad things to
happen. If there is a specific privacy issue that means
the record cannot even been retained in a restricted form
(retired), then removing may be the only option. However,
the need for this should be vanishingly small and
therefore issues like you describe with Primo should be
few a far between and may require manual intervention.<o:p></o:p></p>
<p>The error code idDoesNotExist is deliberately returned by
EPrints OAI interface when a record is removed, as in
effect the record never existed. All I can suggest is
that Primo should treat getting back idDoesNotExist the
same as getting back an item that is marked as deleted.
Obviously, you may want to be a bit more careful about
what to do when getting back idDoesNotExist, in case there
is some error in the request that mangles the ID so it
cannot be found. I have no idea how Primo could be
configured to do this but as far as I can tell EPrints is
behaving as it should; reporting completely removed items
as not existing whereas retired items are reported as
'Deleted'.<o:p></o:p></p>
<p>Regards<o:p></o:p></p>
<p>David Newman<o:p></o:p></p>
<p>On 15/04/2021 15:27, Alan.Stiles via Eprints-tech wrote:<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div style="border:solid #8D3970 1.0pt;padding:9.0pt
9.0pt 9.0pt 9.0pt">
<p class="MsoNormal" style="line-height:16.5pt;background:#F7F9FA"><strong><span style="font-size:10.5pt;font-family:"Calibri",sans-serif;color:#8D3970">CAUTION:</span></strong><span style="font-size:10.5pt;color:#8D3970"> This
e-mail originated outside the University of
Southampton. <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal">I feel like there was a
discussion about this here a year or two ago but I
can’t find it now.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Records in our repository that
get flagged as deleted show up in the OAI feed as
‘Deleted’, but records that get completely removed
(destroyed) show up as error code
‘idDoesNotExist’.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">It appears that Primo (our
library search product) isn’t doing anything about
updating records from the feed (configured within
Primo to explicitly harvest our repository), at
least where it’s getting the error response.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Any clues as to whether this is
a Primo problem or my problem to sort out?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Alan<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" moz-do-not-send="true">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><o:p></o:p></pre>
<pre>*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C75f307f94fbe40f4d91208d90022f112%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637540972442071272%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=LinysUWEyLxwBRiRqRLKHdTr%2Fzbe2f%2BBuzJvF%2B9iL%2Bw%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="qhpBfV4ujc4secU5lTjfiBQLy28osu4LyAQuHassMO86x6xTl7fySfK7GIyi8Y5fUiOaDXsLIS5LVcyG5f20kpELbBSKgikPZ0PJ9lQvABe+04N0G/kkZc/I+hc0y62WeAybrqE/dEYwUFf6VHV7oBXjM5J3IWTG6ksNc96ogt0=" originalsrc="http://www.eprints.org/tech.php/" shash="rEf8V/vGcJGW6yn29b1Cm9L1wbOzqnQ2tICT5sYu8uK617cdRORYKjp6UmakNeaHOCp8PFAQt9msecKLVbmZyblYhAZvEjT1op6tlrI1Un62c8OVVo+PIsQNWMOTPezHbXr44Gzh5jyniFO9ql8Hfq2hSrAskPiPFAAI6YqQjIk=" moz-do-not-send="true">http://www.eprints.org/tech.php/</a><o:p></o:p></pre>
<pre>*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C75f307f94fbe40f4d91208d90022f112%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637540972442071272%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YhlIvssAhA8TPlZ80kVrXcz%2FpP%2B92t0EGCu9wqv%2FdOw%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="HNbCdqX13ZvmYwGriDtiA/EvX+eOImfw9kiCiH8VcmLfRWFnTp8xYEy0xA/8N8HMu1VkAxvrC13L2AdSWurucx2N3HOKvukUeZxcS5XV3n/pT1MSF3j5HSD1NnkC0vTQfgas5y4jW0auBmYN6d6pEkWNfwYn4JFy3ZqgNmFbtQk=" originalsrc="http://wiki.eprints.org/" shash="U3nDStU5DKeDFZr79NgV51s1XrNXdgwqsQVWOlsKDoiMIjKga4KFKxh6fzxrwjdMke6udFLNaG30p4VshrLF/e1sRS+8zAJYjknCZ7I/6jbfM+O0gqOk9Bv19jGAnon4KUk0TfpyxRiOqic86lP9rDvkSFwlu+PsDXpJU2pytGM=" moz-do-not-send="true">http://wiki.eprints.org/</a><o:p></o:p></pre>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C75f307f94fbe40f4d91208d90022f112%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637540972442081227%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Iicq1bybkiPDtPu7caqCRTcm4XPuDns3dRleDLNf61s%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="F5x81BOxYBLKhkFkACyU1R7G+kGNCkiCVwxmxcoBhfg3x2zSSTDZIma7LJ1yxwaqz9XKnKKrBGY2WmIBVkoFTG1K0Tu4W7p6gWAC00qkeHOELV56wmeb+sk2YU2ickHJJV9Qj7fGA8IkacQG2vGokMfFKjvCcDyY0IbODqqdUxw=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C75f307f94fbe40f4d91208d90022f112%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637540972442081227%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2F9yYyoDO2cmjHXogIpif2Ll7Tm%2FtExdsM7gl4spXw9A%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="TP6W47XgY5gMLAsFCXHHCoxakNRdWiCuQkP+aAAjLKqwc/qen78YBwzMFsfWQwfqpe57qhSTInxz8EtM5jtoY1Ksc8tZOxRN0ZMD3LBihlS/zeeXRFDsq34TSt/AefN56sHLWytQkYYFOHtpZHgbzbxnWRg1sM+fDvlEgsizE5E=">http://wiki.eprints.org/</a></pre>
</blockquote>
</body>
</html>