[Koha-bugs] [Bug 31199] selenium/patrons_search.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 7 17:17:32 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31199

--- Comment #16 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Hum, maybe I found a possible cause.

I was seeing "%test_patr%" in the request, but we never send that, we pass
"test_patron". Looks like it's missing the delay and several (too many)
requests are sent, which is overloading the server.

We expect a 250ms delay between request, it is in 
koha-tmpl/intranet-tmpl/prog/js/datatables.js
114 jQuery.fn.dataTableExt.oApi.fnSetFilteringDelay = function ( oSettings,
iDelay ) {

But, the from doc:
https://datatables.net/plug-ins/api/fnSetFilteringDelay
"""
Please note that this plug-in has been deprecated and the dt-init searchDelay
option in DataTables 1.10 should now be used. This plug-in will not operate
with v1.10+.
"""

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list