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