<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>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>
<p></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>
</body>
</html>