<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>&nbsp;Thanks for the suggestions. Using 101 or 102 does not change. I've used grep to find &quot;EPrint::Move&quot; or &quot;Move to Repository&quot;, 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 &quot;Move to the Repository&quot; 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).&nbsp; It is worth checking there to see if there is anything that relates to the EPrints::Move screen plugin.&nbsp; It may also be worth checking you archive's
 phrase files to see if the is a &quot;Move to the repository&quot; assigned to another button other than the one from EPrints::Move.&nbsp; 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.&nbsp; <br>
</p>
<p>This sounds like one of the problems I would have difficultly debugging even if the code was in front of me.&nbsp; So I am not overly confident any one of my suggestions will fix your problem.&nbsp; 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 &quot;Move to the repository&quot;, &quot;Return Item (with notification)&quot;, &quot;Delete Item (with notification)&quot; 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 &quot;Move to the repository&quot; ( perl_lib/EPrints/Plugin/Screen/EPrint/Move.pm ) is<br>
</p>
<p>{ <span class="pl-c1">place</span> <span class="pl-k">=&gt;</span> <span class="pl-s">
<span class="pl-pds">&quot;</span>eprint_actions_bar_buffer<span class="pl-pds">&quot;</span></span>,
<span class="pl-c1">action</span> <span class="pl-k">=&gt;</span> <span class="pl-s">
<span class="pl-pds">&quot;</span>move_archive<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">
position</span> <span class="pl-k">=&gt;</span> 100, },</p>
<p>The form render as:<br>
</p>
<p>&lt;form method=&quot;post&quot; accept-charset=&quot;utf-8&quot; action=&quot;/cgi/users/home&quot; enctype=&quot;multipart/form-data&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;input name=&quot;screen&quot; id=&quot;screen&quot; value=&quot;EPrint::View&quot; type=&quot;hidden&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;input name=&quot;eprintid&quot; id=&quot;eprintid&quot; value=&quot;263&quot; type=&quot;hidden&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;input class=&quot;ep_form_action_button&quot; value=&quot;Move to Repository&quot; name=&quot;_action_move_archive&quot; type=&quot;submit&quot;&gt;<br>
&lt;/form&gt;</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">=&gt;</span> <span class="pl-s">
<span class="pl-pds">&quot;</span>eprint_actions_bar_buffer<span class="pl-pds">&quot;</span></span>,
<span class="pl-c1">action</span> <span class="pl-k">=&gt;</span> <span class="pl-s">
<span class="pl-pds">&quot;</span>move_archive<span class="pl-pds">&quot;</span></span>, <span class="pl-c1">
position</span> <span class="pl-k">=&gt;</span> 200, },</p>
<p>It displays correctly EPrint::Move but &quot;Return Item (with notification)&quot; 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 &quot;This screen (EPrint::View) does not know how to process this action: move_archive&quot;.</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>
&nbsp;&nbsp;&nbsp; $self-&gt;{actions} = [qw/ move_inbox move_buffer move_archive move_deletion /];<br>
<br>
&nbsp;&nbsp; &nbsp;$self-&gt;{appears} = [<br>
{ place =&gt; &quot;eprint_actions&quot;, &nbsp;&nbsp; &nbsp;action =&gt; &quot;move_inbox&quot;, &nbsp;&nbsp; &nbsp;position =&gt; 600, },<br>
{ place =&gt; &quot;eprint_editor_actions&quot;, &nbsp;&nbsp; &nbsp;action =&gt; &quot;move_archive&quot;, &nbsp;&nbsp; &nbsp;position =&gt; 400, },<br>
{ place =&gt; &quot;eprint_editor_actions&quot;, &nbsp;&nbsp; &nbsp;action =&gt; &quot;move_buffer&quot;, &nbsp;&nbsp; &nbsp;position =&gt; 500, },<br>
{ place =&gt; &quot;eprint_editor_actions&quot;, &nbsp;&nbsp; &nbsp;action =&gt; &quot;move_deletion&quot;, &nbsp;&nbsp; &nbsp;position =&gt; 700, },<br>
{ place =&gt; &quot;eprint_actions_bar_buffer&quot;, action =&gt; &quot;move_archive&quot;, position =&gt; 100, },<br>
{ place =&gt; &quot;eprint_actions_bar_archive&quot;, action =&gt; &quot;move_buffer&quot;, position =&gt; 100, },<br>
{ place =&gt; &quot;eprint_actions_bar_archive&quot;, action =&gt; &quot;move_deletion&quot;, position =&gt; 100, },<br>
{ place =&gt; &quot;eprint_actions_bar_deletion&quot;, action =&gt; &quot;move_archive&quot;, position =&gt; 100, },<br>
{ place =&gt; &quot;eprint_review_actions&quot;, action =&gt; &quot;move_archive&quot;, postion =&gt; 200, }, # I've already correct postion -&gt; position in the instance<br>
&nbsp;&nbsp; &nbsp;]; </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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce9d0716c76604bf0887208d8f4fb9f18%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528708838089926%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=XEe5Pd8OigflnL5T385WTnWAlQIav8%2FqAIE%2FJRd3iGU%3D&amp;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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce9d0716c76604bf0887208d8f4fb9f18%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528708838099882%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Yx2%2B5EyQe2vczq24b%2FXttmh%2FOgYAkLEllirPCXWY6XY%3D&amp;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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce9d0716c76604bf0887208d8f4fb9f18%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528708838099882%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=J%2BbgeyoPGN80FI8vaNuKdrMUSCegC23f5kKros2k75c%3D&amp;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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce9d0716c76604bf0887208d8f4fb9f18%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528708838109841%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=zMbym14U2kxUYl8udBWd2nNch1ttHSP1i0yFIZxlR5g%3D&amp;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>