<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p><font size="4">Hi,</font></p>
<p><font size="4">I usually would add a block to the EPrint
workflow, towards the end of the core (Details) stage something
like: <br>
</font></p>
<p><font size="4"> <epc:if test="$current_user{username} =
'MYUSERNAME'"><br>
<component><br>
<field ref="succeeds"/><br>
</component><br>
</epc:if></font></p>
<p><font size="4">Substituting MYUSERNAME as appropriate. Directly
updating the database is very much a last resort option in my
opinion, as you could create a much bigger problem if you get
things wrong. Also, you won't have the traceability to see when
and who unset the succeeds field, which may be useful to know in
the future. With the workflow method you just need to go to
the Details stage on the edit page for the newer eprint record,
scroll to the button and unset the value for the succeeds field.<br>
</font></p>
<p><font size="4">As Alan said, I think even if you use the workflow
method, you may need to manually refresh the abstract page for
that eprint record that has the warning about a newer version
being available. I.e. <br>
</font></p>
<p><font size="4">EPRINTS_PATH/bin/generate_abstracts ARCHIVEID
EPRINTID<br>
</font></p>
<p><font size="4">There is code to deal with changes relating to
items that have the succeeds field set or are referred to by
that field. However, I am not sure it will work in this
scenario. I.e. cause the abstract page of the original eprint
record to be regenerated to remove the new version warning
banner.<br>
</font></p>
<p><font size="4">I think the reason you may have experienced this
issue in the first place is someone (maybe you) created the new
eprint record using the "New version" button in the Actions tab
of the original eprint record. This will set the succeeds field
on the new eprint record. Instead make sure the "Use as
template" button is used, as this will work much the same but
will not set the succeeds field. <br>
</font></p>
<p><font size="4">Regards</font></p>
<p><font size="4">David Newman<br>
</font></p>
<div class="moz-cite-prefix">On 27/05/2022 8:16 am, Alan.Stiles via
Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:CWLP265MB45786395C7677EA539BC0740CAD89@CWLP265MB4578.GBRP265.PROD.OUTLOOK.COM">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<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:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}span.EmailStyle20
        {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><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<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="font-size:11.0pt;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">You
need to clear the 913 from the ‘succeeds’ field on item
60435. Either via direct access to the eprints database
table or by temporarily adding it to the workflow and
clearing it in the user interfacewriting or writing a
script to clear it. The last 2 options should leave a
trace in the item history, the first option will not.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">You
may then also need to regenerate the abstracts for one or
both of the items to remove the version messages from the
public views of the items.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Alan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;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" style="margin-bottom:12.0pt"><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-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>
<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 MOHD.IZWAN SALIM via Eprints-tech
<a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk"><eprints-tech@ecs.soton.ac.uk></a><br>
<b>Date: </b>Friday, 27 May 2022 at 06:06<br>
<b>To: </b>EDER Norbert via Eprints-tech
<a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech@ecs.soton.ac.uk"><eprints-tech@ecs.soton.ac.uk></a><br>
<b>Subject: </b>[EP-tech] How to Remove Available
Versions of this Item<o:p></o:p></span></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>
<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>
<p class="MsoNormal"><span style="font-size:11.0pt">Dear all
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif">One
of my old records appear
<b><span style="color:#212529;background:#FFC080">There
is a </span><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fir.uitm.edu.my%2Fid%2Feprint%2F60435%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8ba8927365b24bccd60608da3fb5c660%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637892347229254031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pBfUVIbcyQ1C5t5tuPrRYReoSwlWLGDhOOU%2BVBn8LAI%3D&reserved=0" originalSrc="https://ir.uitm.edu.my/id/eprint/60435/" shash="OtTsq2+QtUxEiiPEfpidgBEBo87s5IcPs1G0hquWJYUXm2YfB/Bt5mTmuWd6GKIH8IitBN7MP/zLuZ6rg14GYHi++gt/FXUhRaJnunOIeixsV+PxeyGXligmDDhEX/rP+4uncZHED87xpwk7cLJdrokhiSHsGk9jd22HHgg3m5U=" originalsrc="https://ir.uitm.edu.my/id/eprint/60435/" shash="mLKUBSiibSbxa9c7jT6crp+EXbJxLwCKxrWJul+PL50SH2aaR+dW1r9Zirls8nbfijg/FSD+rSs4e4zaBF59PspMhATwMMEKUpwL54Im4gcXdyQgJMcy18LYJfnio4Lx3IaCIz1WGfWALzzpEbSQkIy8LDM/PQgFOt38lKt4iL8=" moz-do-not-send="true"><span style="color:#0D6EFD;background:#FFC080">more
recent version of this item</span></a><span style="color:#212529;background:#FFC080"> available.</span></b></span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#212529">with
some </span><b><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Available
Versions of this Item</span></b><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">
info at the bottom record.</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fir.uitm.edu.my%2Fid%2Feprint%2F913%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8ba8927365b24bccd60608da3fb5c660%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637892347229254031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=T5WkaopuoyXxdHpqVXWQF1T7t%2BuLRs3g190TecxDJkE%3D&reserved=0" originalSrc="https://ir.uitm.edu.my/id/eprint/913/" shash="G0P2A4xl/Q1OG+ujHbVAF+Bmbwdtemn1dE7EbJTjSQ8nYxd+s7tZbN9XtZkT2rXH8P1Lpoq0Z64pO6aAbZx0CZTAVtvbiJaBYTsYg7cdWSKdbDVY2mv1lmksgC70v8T7ciEVY0gruqP7dreu8w9gL87EN5yFuWfJN3AoOqjOKtw=" originalsrc="https://ir.uitm.edu.my/id/eprint/913/" shash="Xbhko01JtQcW03kvpGyVHlBQcOjsEpq+eMjR50i0AP0GMWpcAjetFZXPRbjnMsaQYo+lXDh4wQG6+uBu6SFoi4WlTwHvHNDJg7oGEqg4HUmzKAkOVxyXnaQtsSFIYn4lzeoTssvTka0GCBfmJ3SANtdAOXb1M5Ed+qDYaarC2ak=" moz-do-not-send="true">https://ir.uitm.edu.my/id/eprint/913/</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">I
use to see this in eprints software download.</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">How
do i remove this because both record are not same
in term of version.</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:black">Regards</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Segoe
UI",sans-serif;color:#212529"><br clear="all">
</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.0pt">Izwan</span></b><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.0pt"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fir.uitm.edu.my%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8ba8927365b24bccd60608da3fb5c660%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637892347229254031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yDCuuU2Ht8pdqmDoGgkaZqr2deFP9zqHaPx3ki7u7PE%3D&reserved=0" originalSrc="https://ir.uitm.edu.my/" shash="FqEVAndP7iRNLnARdtCFBgkaREoviJ7Naoa8Z5arWMokbk/6Jv5upek3PErgezbaOKniNJTBXB3fj9aMnh5J95hLa7EgdhxY/qi2/syd/Gr7eCg5lTpz7vpSMlaI7DeHjqm+1A1iVPV2KmnRQ4HKxw04fcGKwSg097zpOLMSMX8=" originalsrc="https://ir.uitm.edu.my/" shash="M2xz77Rx06duZGszUddGkLPHVXpaOB+0PUkJcZmEvOQ7KsIApmiJAAs9jgQeGVzs3lU0Wc38/ASGi2X/2l2NLLLMVDZAFxxLfdJnIbMi4vzv848WCPPepVo4Hneh7FJHcilVB7bkc+9tGz0IfYYzb4WdrPoXyVhQHc6giRpl8U4=" moz-do-not-send="true">https://ir.uitm.edu.my</a></span></b><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p><b><span style="font-size:12.0pt">PENAFIAN: </span></b><span style="font-size:10.0pt">E-mel ini dan apa-apa fail
yang dihantar bersama-samanya ("Mesej") adalah
dihasratkan hanya untuk kegunaan penerima yang
dinyatakan di atas dan mungkin mengandungi maklumat
yang tidak umum, bermilik, istimewa, sulit dan
dikecualikan dari penzahiran di bawah undang-undang
yang terpakai termasuklah Akta Rahsia Rasmi 1972.
<span style="color:white;background:red"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D83&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8ba8927365b24bccd60608da3fb5c660%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637892347229254031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gj3Hw1YREk4j3Zbew7gP5z%2FoEF9a%2BA%2BA2P3C%2BVausLs%3D&reserved=0" originalSrc="https://mail.uitm.edu.my/index.php?option=com_content&view=article&id=83" shash="p4eDBW5Rd/8NQGUH24gfFG2yoCBc2L02Lda6ipwUS6xvzkS98n0WYJW26SW262Xepk9tE2AfnIaes5h5o3LMS0WBi7gvYIxbnZA5ZfAlEEF+TqrhyF0nq1BNISv4nMdP1KA4HPSQzmXexdDb5A2h2CjJrZhsFTQG18YC7a5c1Ac=" originalsrc="https://mail.uitm.edu.my/index.php?option=com_content&view=article&id=83" shash="pEgfDy0g5oKprxdTqWv0E4bqUEKO7iumw7yW9uPy29pc6ggIhUT1PiafWZwxN7XNkDZAnvmfGIvj2z/AJEuY8sw/fMGx6BPMH0/Oc6rO2H8mTVlDFrXCQTldMn9/KwWdqyHPb7yculWkOCuaREhXHUq4FAd8zYI5SAmUy4LFq14=" target="_blank" moz-do-not-send="true">BACA
SELANJUTNYA...</a></span></span><o:p></o:p></p>
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:11.0pt">
<hr width="100%" size="0" align="center">
</span></div>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt">DISCLAIMER
:</span></i></b><i> This e-mail and any files
transmitted with it ("Message") is intended only for
the use of the recipient(s) named above and may
contain information that is non-public, proprietary,
privileged, confidential and exempt from
disclosure under applicable law including the Official
Secrets Act 1972.
</i><span style="color:white;background:red"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.uitm.edu.my%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D83&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8ba8927365b24bccd60608da3fb5c660%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637892347229254031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Gj3Hw1YREk4j3Zbew7gP5z%2FoEF9a%2BA%2BA2P3C%2BVausLs%3D&reserved=0" originalSrc="https://mail.uitm.edu.my/index.php?option=com_content&view=article&id=83" shash="p4eDBW5Rd/8NQGUH24gfFG2yoCBc2L02Lda6ipwUS6xvzkS98n0WYJW26SW262Xepk9tE2AfnIaes5h5o3LMS0WBi7gvYIxbnZA5ZfAlEEF+TqrhyF0nq1BNISv4nMdP1KA4HPSQzmXexdDb5A2h2CjJrZhsFTQG18YC7a5c1Ac=" originalsrc="https://mail.uitm.edu.my/index.php?option=com_content&view=article&id=83" shash="pEgfDy0g5oKprxdTqWv0E4bqUEKO7iumw7yW9uPy29pc6ggIhUT1PiafWZwxN7XNkDZAnvmfGIvj2z/AJEuY8sw/fMGx6BPMH0/Oc6rO2H8mTVlDFrXCQTldMn9/KwWdqyHPb7yculWkOCuaREhXHUq4FAd8zYI5SAmUy4LFq14=" target="_blank" moz-do-not-send="true">READ MORE...</a></span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></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=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8ba8927365b24bccd60608da3fb5c660%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637892347229254031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YIxZX8Iip%2FEvhEYcOxRh62rp4xbajpwqjdcgwjXRZP8%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="TInehnz7+l5beMq8ej4+fhQnn3sPz2Qe/OzWfAL6bV4zkSnLWXqO7x6YyBxHD9NNXFAtGfDeQQMA1znUr48aNSF5OD3G/B1svukSxiyrRkyoZNimEEcrTXJGx2MD9yUT0TdH6D/ArI1Bvuc4OtqcDrkJZ/wmvk3v+oklAXt+CvI=">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=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C8ba8927365b24bccd60608da3fb5c660%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637892347229254031%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zLq%2FUlhHLRIAc8lXHKEk%2FgPpuOTppkJ5nx1%2F5VW8Nvg%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="LHrhl5S40HZfs8d8OKLjLEnaKXJw7ohELgtn37GXHdz0wTLLyltvqv0yUP32KZDhGJLrdUFjwQQCD0L6xnxg4b+fRw7Zrtv0En5YxjYZn9UVaWYjhhZ9k0Y5lAbgNf+9dy14oBK5kmqDBub7iPHnlPrWDbArXINJabVnA79isVk=">http://wiki.eprints.org/</a></pre>
</blockquote>
</body>
</html>