[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 12:21:38 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14200
--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 39179
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39179&action=edit
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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list