<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
</head>
<body>
<p>Hi Yuri,</p>
<p>This is an odd one, as if the "Move to the Repository" button
does not actually do what it says when the setting is the default,
position = 100, then it seems extremely unlikely that this would
not have been identified as a bug by now, as this would likely
apply to all repositories running this version.<br>
</p>
<p>It is possible to reconfigure these values in the local archive's
configuration, (typically plugins.pl). It is worth checking there
to see if there is anything that relates to the EPrints::Move
screen plugin. It may also be worth checking you archive's phrase
files to see if the is a "Move to the repository" assigned to
another button other than the one from EPrints::Move. Beyond,
that all I can suggest is try setting the position to 101 rather
than 200 to see if this fixes the functionality of the button
without changing the ordering of buttons. <br>
</p>
<p>This sounds like one of the problems I would have difficultly
debugging even if the code was in front of me. So I am not overly
confident any one of my suggestions will fix your problem. If
this problem has only just occurred, I would be tempted to run a
find command over all your archive config and core EPrints
codebase files, to see if anything relevant has recently been
modified.<br>
</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<div class="moz-cite-prefix">On 01/04/2021 10:50, Yuri via
Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|a2a929b2ef6af2201b990c80c0f42c2cx30Ar914eprints-tech-bounces|ecs.soton.ac.uk|4e41a105-28c5-1121-748d-5a41a3d0bce5@alfa.it">
<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>
<p>Context: Eprints 3.3.15</p>
<p>When I view an Eprints (as admin) I get the "Move to the
repository", "Return Item (with notification)", "Delete Item
(with notification)" buttons on top (<span class="pl-s"><span class="pl-pds"></span>eprint_actions_bar_buffer<span class="pl-pds">).</span></span></p>
<p>The standard config for "Move to the repository" (
perl_lib/EPrints/Plugin/Screen/EPrint/Move.pm ) is<br>
</p>
<p>{ <span class="pl-c1">place</span> <span class="pl-k">=></span>
<span class="pl-s">
<span class="pl-pds">"</span>eprint_actions_bar_buffer<span class="pl-pds">"</span></span>,
<span class="pl-c1">action</span> <span class="pl-k">=></span>
<span class="pl-s">
<span class="pl-pds">"</span>move_archive<span class="pl-pds">"</span></span>, <span class="pl-c1">
position</span> <span class="pl-k">=></span> 100, },</p>
<p>The form render as:<br>
</p>
<p><form method="post" accept-charset="utf-8"
action="/cgi/users/home" enctype="multipart/form-data"><br>
<input name="screen" id="screen" value="EPrint::View"
type="hidden"><br>
<input name="eprintid" id="eprintid" value="263"
type="hidden"><br>
<input class="ep_form_action_button" value="Move to
Repository" name="_action_move_archive" type="submit"><br>
</form></p>
<p>As you can see, the form points to EPrint::View instead of
EPrint::Move.</p>
<p>If I change the config to:</p>
<p>{ <span class="pl-c1">place</span> <span class="pl-k">=></span>
<span class="pl-s">
<span class="pl-pds">"</span>eprint_actions_bar_buffer<span class="pl-pds">"</span></span>,
<span class="pl-c1">action</span> <span class="pl-k">=></span>
<span class="pl-s">
<span class="pl-pds">"</span>move_archive<span class="pl-pds">"</span></span>, <span class="pl-c1">
position</span> <span class="pl-k">=></span> 200, },</p>
<p>It displays correctly EPrint::Move but "Return Item (with
notification)" move to the first position and have the same
issue, it renders with EPrint::View instead of EPrint::Move.</p>
<p>So the first button always get EPrint::View, the others
EPrint::Move. Obviously the one with EPrint::View fails with
"This screen (EPrint::View) does not know how to process this
action: move_archive".</p>
<p>Any idea on how to solve this?<br>
</p>
<p>P.S: This is the full config for Move.pm (the standard one):</p>
$self->{actions} = [qw/ move_inbox move_buffer
move_archive move_deletion /];<br>
<br>
$self->{appears} = [<br>
{ place => "eprint_actions", action => "move_inbox",
position => 600, },<br>
{ place => "eprint_editor_actions", action =>
"move_archive", position => 400, },<br>
{ place => "eprint_editor_actions", action =>
"move_buffer", position => 500, },<br>
{ place => "eprint_editor_actions", action =>
"move_deletion", position => 700, },<br>
{ place => "eprint_actions_bar_buffer", action =>
"move_archive", position => 100, },<br>
{ place => "eprint_actions_bar_archive", action =>
"move_buffer", position => 100, },<br>
{ place => "eprint_actions_bar_archive", action =>
"move_deletion", position => 100, },<br>
{ place => "eprint_actions_bar_deletion", action =>
"move_archive", position => 100, },<br>
{ place => "eprint_review_actions", action =>
"move_archive", postion => 200, }, # I've already correct
postion -> position in the instance<br>
]; </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%7C89ca5b294a864980c4f808d8f4f6bb1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528687903803555%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BYppRPAY38LhMGDC7WYGXliDECAfQIsHT3GA%2F%2B9yAAk%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="DnMTMPZJ3XdgQ0R1AqtC/5C664BbZiUQHSXnnJuvZ51zCYEyvtcaRSAm3CYEJrFiBJXlwnGq+aS0Juo476k+kAWZIQqO+ZhU/KUWa+mXkzG3v+UHR9QhPOnolldw2H7IzKJqjyz0E/KXzSVnWSMok2xxopBJ1jMqD44CmOgrWyg=">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%7C89ca5b294a864980c4f808d8f4f6bb1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528687903813496%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=55YOB7ZHsNyyGLsMi6mi9rJvyy%2FWyQrfbdHzmnn2xxQ%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="Zk7iXkkJaRPk34XtZDPvKtxOLfn3ls9OiRguSpCC+tyyf4gDgmIy/tkoxW8pJ0pA6URPeyZV4h6f2fpJGubeBKfyUkp0uhOP3+7XMlQhTGZWqqPpQj/+lL0ZwQpCy2A/b7etg4IgTkxCc/GfI7BIvD8z/x2V2HUWMTPHEo4kKtA=">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C89ca5b294a864980c4f808d8f4f6bb1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528687903813496%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XeR3XSJo7eUNy2aHH6eUdh%2BlP18v70aJGjYCmisV5To%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="db09x4YzINe3aMx/xtUJzHPtQQJlxyIdOQ2PwLpklOspcguA6yrC3QarBZzavM0qRhwkhl3qt4YC0wWmS54wAi+QBvR33DAhp5OjJXVoHeb34Pi3yaC4qGXQZJ6W3K0ULPHJj0UsByygW39WcOoB2iNBIH5bQa/mJ0QFhaFoHtQ=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C89ca5b294a864980c4f808d8f4f6bb1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528687903823454%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=EPh6Hjk5kl2%2Be65FxDbEEQwrxriDrpp%2Fc1RDV94DNKw%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="QgISj0z/jOMLX3vAyu7R0bvhnQ0sOMj5z/zq/7F5RZ+SjWUTGpeb13yQnLI7d3o5r6MmYid/MyaZrRzVYtIid05OpNhUQkwGMk4aSuhWbzRwGsunD0LZLP0MEU1jJNSscfSuld+Fr7Fb+ykdpo3GxXp5Y4g489Gv4d7iNTCvzMk=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>