[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
Tue May 19 14:41:49 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14200
--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 39297
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39297&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
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Karen Bryant <kbryant at ccpl-fl.net>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list