[Koha-bugs] [Bug 9500] GetNormalizedISBN only ever checks the first populated ISBN field
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 22 23:14:17 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9500
--- Comment #2 from Barton Chittenden <barton at bywatersolutions.com> ---
Oh, the badness goes *so* much deeper: GetNormalizedISBN calls _isbn_cleanup():
sub _isbn_cleanup {
my ($isbn) = @_;
return NormalizeISBN(
{
isbn => $isbn,
format => 'ISBN-10',
strip_hyphens => 1,
}
) if $isbn;
}
... So if the first ISBN isn't a valid *10 digit* isbn, GetNormalizedISBN will
fail.
I've attached a MARCXML record which will trigger the bug.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list