[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 18:43:35 CEST 2010


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

Ian Walls <ian.walls at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian.walls at bywatersolutions.
                   |                            |com

--- Comment #3 from Ian Walls <ian.walls at bywatersolutions.com> 2010-10-06 16:43:32 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.

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.

-- 
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