[Bug 12045] New: Transfer impossible if barcode includes spaces
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12045 Bug ID: 12045 Summary: Transfer impossible if barcode includes spaces Change sponsored?: --- Product: Koha Version: 3.14 Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: verolencinas@yahoo.com.ar QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Barcodes in Koha can include spaces but if such an item is transferred you get the message "No Item with barcode: nnnn" where nnnn is the barcode with spaces stripped. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12045 Chloe Alabaster <chloealabaster@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12045 --- Comment #1 from Chloe Alabaster <chloealabaster@gmail.com> --- Created attachment 47149 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47149&action=edit Bug 12045 - Transfer impossible if barcode includes spaces have changed the code which strips the white space to only remove the leading and trailing white space instead To Test- 1- go to circulation -> transfer 2- attempt to tranfer an item where the barcode has a space in the middle of it 3- it should fail 4- apply patch 5- try again 6- it should work -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12045 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12045 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47149|0 |1 is obsolete| | --- Comment #2 from M. Tompsett <mtompset@hotmail.com> --- Created attachment 47182 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47182&action=edit Bug 12045 - Transfer impossible if barcode includes spaces have changed the code which strips the white space to only remove the leading and trailing white space instead To Test- 1- go to circulation -> transfer 2- attempt to tranfer an item where the barcode has a space in the middle of it 3- it should fail 4- apply patch 5- try again 6- it should work NOTE: I purposefully added: die "($barcode)"; Before, all spaces were removed. ' white space ' became '(whitespace)' After, only external spaces were remove ' white space ' became '(white space)' Signed-off-by: Mark Tompsett <mtompset@hotmail.com> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12045 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12045 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #47182|0 |1 is obsolete| | --- Comment #3 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 47195 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47195&action=edit Bug 12045 - Transfer impossible if barcode includes spaces have changed the code which strips the white space to only remove the leading and trailing white space instead To Test- 1- go to circulation -> transfer 2- attempt to tranfer an item where the barcode has a space in the middle of it 3- it should fail 4- apply patch 5- try again 6- it should work NOTE: I purposefully added: die "($barcode)"; Before, all spaces were removed. ' white space ' became '(whitespace)' After, only external spaces were remove ' white space ' became '(white space)' Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org