Bug 36479

Summary: Z39.50 responder does not support element set / composition "B"
Product: Koha Reporter: Galen Charlton <gmcharlt>
Component: Z39.50 / SRU / OpenSearch ServersAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, m.de.rooy
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:

Description Galen Charlton 2024-04-01 20:03:34 UTC
The Z39.50 responder currently has a hard-coded expectation that the element set / composition provided by the client is either blank or "F".

It would be handy if it also supported "B" (brief) for backwards compatibility, since the default Zebra configuration also supports "B" (as effective a synonym for "F" (full)). 

Doing this would avoid a compatibility issue when switching from zebrasrv as the Z39.50 server to the Z39.50 responder for clients that happen to set the element set to "B".  In particular, we've seen at least one case where the EBSCO/EDS item availability checker was configured to request "B".

The error message associated with this is

returning error 239: Unsupported syntax/composition 1.2.840.10003.5.10/B Koha::Z3950Responder::Session::log_error /usr/share/koha/lib/Koha/Z3950Responder/Session.pm (341)