[Koha-bugs] [Bug 4305] Amazon book covers do not work with ISBN13

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 6 19:01:38 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4305

--- Comment #6 from Frédéric Demians <frederic at tamil.fr> 2010-10-06 17:01:37 UTC ---
> The patch for bug 4305 does not address the case where the ISBN passed to
> GetNormalizedISBN is coming from biblioitems.isbn, and contains " | " and the
> beginning of a second ISBN.

Was it working before this patch?

> If multiple ISBN fields are present in the MARC record on import, Koha attempts
> to store all of them in the biblioitems.isbn field, up to the field's 30
> character limit.  Business::ISBN cannot handle this, and will throw an error. 
> This comes up, in one important case, when a patron attempts to log into their
> account in the OPAC.  The function to show their currently checked-out items
> pulls the ISBN from the biblioitems table, and if they've checked out a
> material with multiple ISBNs in the record, they'll see the error rather than
> their account.
> 
> The simple solution is to scrub any ISBN coming into GetNormalizedISBN for the
> " | " delimiter.  A more robust solution will involve preventing Koha from
> attempting to save multiple ISBNs into a single database field.

We could also split multiple ISBNs on |, and retains the first ISBN identified
as valid by Business::ISBN

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list