[Koha-bugs] [Bug 14200] GetNormalizedISBN failing to normalize valid ISBNs in some cases

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 14 19:44:41 CEST 2015


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

--- Comment #4 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 39198
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39198&action=edit
[SIGNED-OFF] Bug 14200 - GetNormalizedISBN failing to normalize valid ISBNs in
some cases

For some reason the regular expression used to split the multiple ISBN
fields can fail which keeps Business::ISBN from being able to parse out
and return a valid isbn. Using split() instead of the regex fixes the
issue.

Test Plan:
1) Apply the unit test patch first
2) prove t/Koha.t
3) Note the failures
4) Apply the second patch
5) prove t/Koha.t
6) Note all tests pass

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Karen Bryant <kbryant at ccpl-fl.net>

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


More information about the Koha-bugs mailing list