[Koha-bugs] [Bug 1499] New: add bilbio fails during dupe check if ISBN (020$a) has parentheses

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Tue Oct 16 16:36:33 CEST 2007


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1499

           Summary: add bilbio fails during dupe check if ISBN (020$a) has
                    parentheses
           Product: Koha
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: MARC
        AssignedTo: galen.charlton at liblime.com
        ReportedBy: galen.charlton at liblime.com
         QAContact: koha-bugs at nongnu.org


When adding a new bib record, if the 022$a contains a parentheses after the
ISBN, attempting to save the bib fails with the following message in the Apache
log:

[Tue Oct 16 09:32:24 2007] [error] [client 68.79.49.56] ZOOM error 10014 "CCL
parsing error" (addinfo: "Operator expected") from diag-set 'ZOOM', referer:
http://staff-gmc.dev.kohalibrary.com/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=9
[Tue Oct 16 09:32:24 2007] [error] [client 68.79.49.56] Premature end of script
headers: addbiblio.pl, referer:
http://staff-gmc.dev.kohalibrary.com/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=BKS&breedingid=9

Example of an offending ISBN:

020  $a0201799405 (pbk. : alk. paper)

Proposed fix:

Normalize the ISBN during dupe checking to remove everything after the ISBN
proper.

Longer term: 

Handle CCL parsing errors better.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list