EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #07906


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Strange button behaviour


Hi!

 I've 2 almost identical Eprints installation, one for production and
one for testing. I'm very conservative in changing something in
production, more free in testing.

Yesterday I've found that the Search Items button (Admin panel ->
Editorial tools) redirect to the same page. In testing it works and the
html form is correct:

<form method="get" accept-charset="utf-8" action="/cgi/users/home">
  <input name="screen" id="screen" value="Staff::EPrintSearch"
type="hidden">
  <input value="Search items" class="ep_form_action_button" type="submit">
</form>

while in production I've:

<form method="get" accept-charset="utf-8" action="/cgi/users/home">
  <input name="screen" id="screen" value="Admin" type="hidden">
  <input class="ep_form_action_button" value="Search items" type="submit">
</form>

As you can see, the production have "Admin" (the name of the main
plugin) as hidden value instead of Staff::EPrintSearch. Where can I
check this wrong behaviour? I've found the various plugin code, for
example Admin prints "actions" in button but I still have to find how
the "Admin" came out instead of "Staff::EPrintSearch".

Latest modification has been only on javascript and abstract rendering,
seems unrelated to this problem.

Thanks for any hint/help.