[Koha-bugs] [Bug 29438] Importing a record with an ISBN13 with no ISBN10 counterpart does not save the ISBN

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 7 22:09:32 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29438

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucas at bywatersolutions.com

--- Comment #1 from Lucas Gass <lucas at bywatersolutions.com> ---
Any ISBN prefixed with 979 cannot be converted to an ISBN10. An 979 ISBN will
also not pass the check here:

if ( $isbn && $isbn->is_valid() ) 


For example:

use Business::ISBN; 
my $isbn = Business::ISBN->new(9798986969305); 
warn Data::Dumper::Dumper($isbn->is_valid);

this returns an empty string for $isbn->is_valid

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list