<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
  </head>
  <body>
    <p>Hi Yuri,</p>
    <p>I would start at perl_lib/EPrints/ScreenProcessor.pm and work
      your way down, if you are trying to find how the screen form input
      value is being changed.</p>
    <p>Regards</p>
    <p>David Newman<br>
    </p>
    <div class="moz-cite-prefix">On 01/04/2021 11:47, Yuri Carrer via
      Eprints-tech wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:EMEW3|a0bc3238d3b7c2ade784d683dcb8e72ex30Bmk14eprints-tech-bounces|ecs.soton.ac.uk|54f11fcc-c58e-7f4d-3a24-bd1c4c4f41e6@unipd.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>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%7Cf91aa1f26b1b4a7985ba08d8f50771da%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528759638550056%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=0qJ%2Fg1x4EaGKZUysJsRU2aZrHWIYZISx%2Bq%2BT6fkd4QM%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="bO/m+qLQHvM89k9JEIPULUKKJxoptvZmneQTPOuoWKRBUeizP58Ot8J90bpPN9SfJ/QviJtzx3QTI9PMFDugFMk1GbRSHHXNVzCurtA+M2iVwVv4oPj+ECKWOYjoToUOLNzStNXI8zzTQEQAnOZZDBf2Gc1q26bGeKJie/lZbaU=" originalsrc="http://www.eprints.org/tech.php/" shash="VS4g52DZdNsSiqGVIgZ1MDNW1WXyCY4j7w3DUoJPkTKJ2cedpAm0yRvBEW5O1yBksgEejTwK9LUerucL9h5kHemmUlEec1+np0j5Zjn/KJC30scZR5vbJr4HtZSJkKJ5HHkyoWABCU8m/d0n5AEpku32Kr2tziJsWkMxb3s6NM8=" 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%7Cf91aa1f26b1b4a7985ba08d8f50771da%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528759638550056%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=QHZICsz9Aj4m%2FHASGEaz2d3A%2B5JlgyI9mge62F5h5VI%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="JW7QQlT6/XSgnu7dcWkbte0LvPZRiC8BzXqGkGkomaMj3XXY9PvNQq2WEYC1MtEUy9rLvHLSV1yu+IGfBDXaEQYJLC/ESmtjl0+78MvFiZ+T5XeKRcDVA3hbtDJ0XfE80OiG+9OHTtoQi8c3dBnCB4nM6DmogfmdzuY7BDw602M=" originalsrc="http://wiki.eprints.org/" shash="tUuwD2xY/3eyDLD7qp2hPxTPGUDqQO6JkyNRi7MHK7Gi/ZkLm20rVdfZ3G0ikQCN61aA2HC9qZMY1mmyHRrMSlhqp1bzY+kHSXm9L21nlCPSrqQgAw1bAT4Vr8gHxEFrvLV40tdjo5ylQKc8i90d+56UKKqybHfw6FPs3vZMVE0=" 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%7Cf91aa1f26b1b4a7985ba08d8f50771da%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528759638560044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=U9cZr34Ws%2BdRbB5k4vy5MJZhHvFUZupvntaBJhVYavo%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="TaxAMFauqZMcmePna7m9NxwJGrAlBP1RRAMfZiC8aNnY/utNeozUekVaOZI+KOLPfspaidqAjGT3Yh04/TosBqWwSQ/TmD0uyfjik9+2tN0YQ4/IuEU99TuFvGhXdP2+fE4vg22e+F7mlqMtl5RS+B/UCXR4g7ucYrG/EK/zhmE=" originalsrc="http://www.avg.com/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient" shash="qs+KGztv5YZg/tlj1j7bcOXQMME27IU3f6ZAraMncdXMMNll6AXf/2K+DBTXOLUjCBtxPfRw4GGkGsSujfU+XKBnIKVxt9JDr0rAm2bAXQNzXWXtIHfuBDj54D+ltH7ogbmJ5KUIUjWc5aWW2E69VK+XjGyldO4sRow16GqoG2Q=" 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%7Cf91aa1f26b1b4a7985ba08d8f50771da%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528759638560044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=U9cZr34Ws%2BdRbB5k4vy5MJZhHvFUZupvntaBJhVYavo%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="TaxAMFauqZMcmePna7m9NxwJGrAlBP1RRAMfZiC8aNnY/utNeozUekVaOZI+KOLPfspaidqAjGT3Yh04/TosBqWwSQ/TmD0uyfjik9+2tN0YQ4/IuEU99TuFvGhXdP2+fE4vg22e+F7mlqMtl5RS+B/UCXR4g7ucYrG/EK/zhmE=" originalsrc="http://www.avg.com/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient" shash="nskcAixFbvjYbsC97SoUAs3dvWLuf3/YDr+UQPDMd2IlR1NfKQs77ZPan1WylCkOCMJwqJalDU0BeSoTWuysZC0c/djwWi/LKU/KaJ6LpFsBKX3DxcRlGcyzkVZJYIgJrq1x4IUqjUNZeyUeGNWbI9N29uYAKbcgRWHowVSBbjc=" target="_blank" style="color: #4453ea;" moz-do-not-send="true">
                      www.avg.com</a> </td>
                </tr>
              </tbody>
            </table>
          </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>
      <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%7Cf91aa1f26b1b4a7985ba08d8f50771da%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528759638570040%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=UEwvL7D6hBKrt3015HctyyboEIPG7dZidAlJT0BiSm8%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="pKxAKfFmLmpUg4k53gSw0Abr2ZJxjIIV69TQz/Key45WWkorCjavHkHqjGLSGLV23lcrai2zqw55kljqVLTjS37lGcUUsKQwt1qqpZ8z6leLNAssgpqYN+Ug1yeDPyNILpYgkMOpb2B21Do7ukMPmMcQc7he5wSLvHVzLuYt27c=">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%7Cf91aa1f26b1b4a7985ba08d8f50771da%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637528759638580032%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=7r3aBqbpMsr%2FNMOZ0MawXDHkO9fcsaWkX6im3cW5Vdo%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="YJTSleBzECanogfp7Bf203AJ4c00tF/8kN6qFefjZMLjA7LreG8rXgkpF+6cuimc0zA1e/HzAAS9zehGeTRY2G/dE8LNxv5qoVB3qnTOoXsUduN15YBVlRmfxZAC5hWq7R7Vep3Py4QxfoFBFU2W9Oo/LMyNEp1s0WKN/VzLWwo=">http://wiki.eprints.org/</a></pre>
    </blockquote>
  </body>
</html>