[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 20 08:23:40 CEST 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4305
--- Comment #8 from Frédéric Demians <frederic at tamil.fr> 2010-10-20 06:23:40 UTC ---
> This patch causes problems doing bulk imports of data. In particular, I'm
> trying to load a record that has the ISBN '0621047376274' (which is invalid)
> and this causes the error:
>
> [Wed Oct 20 19:03:36 2010] [error] [client 192.168.56.1] [Wed Oct 20 19:03:36
> 2010] stage-marc-import.pl: Can't call method "as_string" on an undefined value
> at /mnt/catalyst/koha/C4/Koha.pm line 1333, <GEN11> chunk 12321., referer:
> http://koha:8080/cgi-bin/koha/tools/stage-marc-import.pl
>
> which breaks the whole import process. Reverting the patch stops this problem.
>
> Note that invalid ISBN10 entries don't cause this problem.
You're ISBN is an invalid ISBN13.
Could you try adding after:
return undef unless $isbn;
this line:
return undef unless $isbn->is_valid;
--
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