[Koha-bugs] [Bug 13167] Stage MARC for Import hangs for biblio containing invalid ISBN-13
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 3 21:19:37 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13167
--- Comment #5 from Tiburce Euphrasie <tiburce.euphrasie at aupaysdescrevettes.org> ---
(In reply to Frédéric Demians from comment #1)
> Created attachment 33130 [details] [review]
> Bug 13167 Stage MARC for Import hangs for biblio containing invalid ISBN-13
>
> If the ISBN of a UNIMARC record begins with 979 then the 'Stage MARC for
> import' hangs. If I use the same UNIMARC record and change 979 to 978 in the
> ISBN, 'Stage MARC for import' works perfectly.
>
> The patch deals with the fact that converting an ISBN-13 to ISBN-10 with
> Business::ISBN as_isbn10() method fails if the ISBN doesn't begin with 978.
Aloha Frédéric Demians,
Adding 'return unless $isbn;' on line 1683 in Koha.pm means that the sub
NormalizeISBN will return nothing for the specific ISBN sample I've provided.
This is not a proper way to fix this bug because that patch implies that all
those '979.*' ISBN simply don't exist.
Bu the way, the initial summary for this bug was "Stage MARC for Import hangs",
a mistake was done when changing this summary to "Stage MARC for Import hangs
for biblio containing invalid ISBN-13", so I'll change it to "Stage MARC for
Import hangs for biblio containing valid 979* ISBN-13" after redacting this
comment.
This ISBN is valid :
- there's a scan from the original book in the attachment file 32969 :
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32969
- There's some documentation available this kind of ISBN :
http://www.afnil.org/
http://fr.wikipedia.org/wiki/International_Standard_Book_Number
Aloha.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list