[Koha-bugs] [Bug 25952] Github search for plugin throwing errors for % and koha-plugin search terms

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 8 13:05:48 CEST 2020


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

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
Created attachment 106650
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106650&action=edit
Bug 25952: Add error-handling to prevent errors from rate limiting

This patch makes sure there is a successful response before trying to decode
the response.

If you search for "koha-plugin" in the Bywater and Theke repos,
you'll quickly exceed your API rate limit, and you'll stop getting
successful responses.

To test:
0) Don't apply patch yet
1) Enable plugins
2) Enable plugin_repos
3) Search for koha-plugin a few times
4) Notice how Plack crashes with a visible error in the browser
5) Apply the patch
6) restart_all (in koha-testing-docker)
7) Search for koha-plugin
8) Observe that no search results are returned and there are no errors
in the browser

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


More information about the Koha-bugs mailing list