Bug 12078

Summary: z3950_search.pl parser error when viewing card
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: katrin.fischer, tomascohen
Version: 3.16   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Christopher Brannon 2014-04-11 22:39:51 UTC
Similar to http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9668, we get an error in z3950_search.pl when we click on the card link in 3.12.  It produces the following software error:

:241: parser error : PCDATA invalid Char value 28
    <subfield code="h"></subfield>

Christopher
Comment 1 Katrin Fischer 2015-01-06 23:28:52 UTC
Hi Christopher, do you still see this happening? Does it happen on all records or only on some?
Comment 2 Christopher Brannon 2015-01-07 22:54:26 UTC
Katrin, it is still happening in 3.16.4.  I don't know about master.

My understanding is that it doesn't happen all the time.  I think when this first came up months ago, we had determined it might have something to do with ISBNs that have some extra information, but I am not sure.  It has been quite some time since I did some investigating, and I don't normally do any tasks dealing with this.

Another staff member said it is still happening.  I asked her to show me an example when she runs into it again.

Christopher
Comment 3 Katrin Fischer 2015-01-07 22:56:22 UTC
Having an example record/z39.50 search where it happens would be good
Comment 4 Tomás Cohen Arazi 2015-01-07 23:00:21 UTC
Could it be related to a wrong behaviour in NormalizeISBN with ISBN's starting with 939 (bug 13167).
Comment 5 Owen Leonard 2016-08-09 17:58:46 UTC
This bug was reported against an unsupported version of Koha and apparently cannot be reproduced.