Bug 34551

Summary: Don't allow Z39.50 import if MARC can't be converted to MARCXML
Product: Koha Reporter: David Cook <dcook>
Component: Z39.50 / SRU / OpenSearch ServersAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy, martin.renvoize
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34014
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35104
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 35104    
Bug Blocks:    

Description David Cook 2023-08-17 04:43:32 UTC
As I note on bug 34014 and bug 34549, if you've got the wrong encoding on your Z39.50 server, you can wind up importing MARC data that contains invalid data (like control characters). 

During copy cataloguing, there should be a warning that there's a problem with the data (possibly because of Z39.50 server config).

That way we have librarians raising the flag that there's a problem before the data is in Koha rather than us doing cleanup after it's been imported.

(Of course, bulk loaded MARC will still be a problem, but baby steps...)