<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
</head>
<body>
<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>Hi!</p>
<p> Thanks for the suggestions. Using 101 or 102 does not change. I've used grep to find "EPrint::Move" or "Move to Repository", just found the standard ones.<br>
</p>
<p>I'm looking to every plugin installed but everything is ok.</p>
<p>So, what is the point where it create the form code, and maybe its caller? Maybe I can debug there and see what happen.<br>
</p>
<div class="moz-cite-prefix">Il 01/04/21 12:13, David R Newman ha scritto:<br>
</div>
<blockquote type="cite" cite="mid:c5cd2ab6-59eb-3942-299a-e555fb62ad40@ecs.soton.ac.uk">
<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" moz-do-not-send="true">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%7Ce9d0716c76604bf0887208d8f4fb9f18%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528708838089926%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XEe5Pd8OigflnL5T385WTnWAlQIav8%2FqAIE%2FJRd3iGU%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="jG3Ub+IfTvkLSyDZvxc7wPzKx3wBDO4WfsjlkNwgERpdEK32QNrpQpH6V0AV6iu9KgtE6Xs1aTr/VZyj6+veea9ievVJlsCV2W952T3GMIBV/Ib3kB4nRdLZ69oita1mf+duyCte9kI93c6nOEv+McXZot5boplZpDY9XP7vDHY=" moz-do-not-send="true">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%7Ce9d0716c76604bf0887208d8f4fb9f18%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528708838099882%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Yx2%2B5EyQe2vczq24b%2FXttmh%2FOgYAkLEllirPCXWY6XY%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="Gzph5vboHHeokn1u8G9fAnhn7AC0NACy5uX3D9FHD1+ojjKYKViE8Nzia/xn3MuRY9fl45R+wryDaUXo0QXzbl2xgQyjeOTVW4IVBV4pzubeqLHG+qzBvtnjGF+KgWXo/6QgHw6VFUYRztfCAAjyKbgY6ptFug+PV0GeUj58srU=" moz-do-not-send="true">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
<tbody>
<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%7Ce9d0716c76604bf0887208d8f4fb9f18%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528708838099882%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=J%2BbgeyoPGN80FI8vaNuKdrMUSCegC23f5kKros2k75c%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="v2ZIT1nGYbOsdLEyR/6bA4+5JwRNlk1CRBn5+Pbv9tnhbCjVYshsXX89SlzWnmPS0vBiA+fGZ37s1HFWfCwb4mepkEXh7Rhreo2VsU2y+PsqYttio5LqBDcwQqC+bOd6c7KBywcXjSL8JYd2PMEG5nJos58cZUP2KZEzJvKJ8dw=" target="_blank" moz-do-not-send="true"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" style="width: 46px; height: 29px;" moz-do-not-send="true" width="46" height="29"></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%7Ce9d0716c76604bf0887208d8f4fb9f18%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528708838109841%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=zMbym14U2kxUYl8udBWd2nNch1ttHSP1i0yFIZxlR5g%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="WeYN1iufpnAkMbHYHqVJlOi8U7N+PNqpy8z4h6EcUbp+DyfWSl3DNfqMmWLwXkgC6bvjHiIWnr/lTP185hNUFg5HKIqcXerjagl14LntROt5SnCeFM6QpItL7joO5JhSr1gY4LyUDzA4pKPcbhCei73fCrd/3qeWAWf9L0xd7MI=" target="_blank" style="color: #4453ea;" moz-do-not-send="true">
www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1" moz-do-not-send="true"></a></div>
</blockquote>
<pre class="moz-signature" cols="72">--
Yuri Carrer
CAB - Centro di Ateneo per le Biblioteche, Università di Padova
Tel: 049/827 9712 - Via Beato Pellegrino, 28 - Padova
</pre>
</div>
</body>
</html>