https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41205
Marcel de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189245|0 |1 is obsolete| | --- Comment #4 from Marcel de Rooy <[email protected]> --- Created attachment 189253 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189253&action=edit Bug 41205: Skip undef records in Z39 response This patch simply skips undefined records - this prevents the error though it doesn't explain why we get undef records here and a Z39 search from standard cataloging just returns nothing. This prevents a breakage of the search. To test: 1 - Have LOC defined as a Z39 Source (standard in KTD) 2 - Open the advanced editor 3 - Search for ISBN 9780520401129 4 - Search explodes, logs like: AH01215: stderr from /kohadevbox/koha/svc/cataloguing/metasearch: Can't call method "raw" on an undefined value at /kohadevbox/koha/Koha/MetaSearcher.pm line 267., referer: http://localhost:8081/cgi-bin/koha/cataloguing/editor.pl AH01215: stderr from /kohadevbox/koha/svc/cataloguing/metasearch: Magic number checking on storable file failed at /usr/lib/x86_64-linux-gnu/perl/5.36/Storable.pm line 443, at /kohadevbox/koha/Koha/MetaSearcher.pm line 144., referer: http://localhost:8081/cgi-bin/koha/cataloguing/editor.pl 5 - Must refresh the page to clear the bad error message 6 - Apply patch 7 - Repeat search - no results, LOC says 'Permanent system error' 8 - You can close the results and do a new search Signed-off-by: Phil Ringnalda <[email protected]> Signed-off-by: Marcel de Rooy <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
