<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 &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">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%7C89ca5b294a864980c4f808d8f4f6bb1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528687903803555%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=%2BYppRPAY38LhMGDC7WYGXliDECAfQIsHT3GA%2F%2B9yAAk%3D&amp;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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C89ca5b294a864980c4f808d8f4f6bb1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528687903813496%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=55YOB7ZHsNyyGLsMi6mi9rJvyy%2FWyQrfbdHzmnn2xxQ%3D&amp;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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C89ca5b294a864980c4f808d8f4f6bb1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528687903813496%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=XeR3XSJo7eUNy2aHH6eUdh%2BlP18v70aJGjYCmisV5To%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="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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C89ca5b294a864980c4f808d8f4f6bb1a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528687903823454%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=EPh6Hjk5kl2%2Be65FxDbEEQwrxriDrpp%2Fc1RDV94DNKw%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="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>