Bug 4316 - Inconsistant behavior in input boxes
Summary: Inconsistant behavior in input boxes
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: rel_3_0
Hardware: All All
: PATCH-Sent (DO NOT USE) minor (vote)
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-12 09:49 UTC by Sharon Moreland
Modified: 2012-10-25 23:09 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Proposed patch. (1.25 KB, patch)
2010-03-13 12:57 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:25:44 UTC


---- Reported by smoreland@nekls.org 2010-03-12 21:49:36 ----

We noticed that when checking out an item, spaces are ignored or sanitized.  When checking in that same item, the spaces lead to an "item not found" message.  This inconsistent behavior.

Another example - a new library hand-typed their item barcodes into Koha with spaces (0 003 000 1234) and were able to check out the item to a patron using a scanner gun, but then could not check the item in when it was returned.

A video showing this behavior: http://screencast.com/t/YmRhN2RlZjUt

We will let you pick which behavior you want Koha to use, we just want it to be consistent.



---- Additional Comments From gcollum@gmail.com 2010-03-13 12:57:40 ----

Created an attachment
Proposed patch.





---- Additional Comments From gmcharlt@gmail.com 2010-03-17 01:10:41 ----

Pushed patch to HEAD.  Please test and close.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:25 UTC  ---

This bug was previously known as _bug_ 4316 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4316
Imported an attachment (id=2003)

Actual time not defined. Setting to 0.0
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
The original submitter of attachment 2003 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.

Comment 1 Owen Leonard 2011-10-25 16:45:56 UTC
This is working in current master. Leading or trailing spaces are ignored when checking out or checking in.