Bug 37843

Summary: No logs for any errors when trying to connect to remote SRU/z39.50 server
Product: Koha Reporter: Peter Vashchuk <stalkernoid>
Component: Z39.50 / SRU / OpenSearch ServersAssignee: Peter Vashchuk <stalkernoid>
Status: Failed QA --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, lisette, m.de.rooy, magnus
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 37843: Add warn to log errors when trying to connect to a remote SRU/z39.50 server

Description Peter Vashchuk 2024-09-05 14:02:18 UTC

    
Comment 1 Peter Vashchuk 2024-09-05 14:07:21 UTC
Created attachment 171075 [details] [review]
Bug 37843: Add warn to log errors when trying to connect to a remote SRU/z39.50 server

Before this patch, when attempting to connect
to a remote SRU/z39.50 server, errors such as
incorrect URLs (404 error) or forgetting https
(trying to access an https endpoint using http,
resulting in a 400 error) were silently ignored.
The system would simply return "nothing found"
without logging any errors, making it difficult
to troubleshoot connection issues. Also added
error codes explanation
(src: https://www.loc.gov/z3950/agency/contributions/1.html)
Comment 2 David Nind 2024-10-19 18:41:36 UTC
Could we get a test plan for this? 

Then I would be happy to test.

For example, how to replicate or demonstrate the issue (for the various errors), and then showing it is fixed or improved.
Comment 3 Lisette Scheer 2025-01-07 16:53:58 UTC
Please add a test plan.