Screens are inconsistent when there is a space within the barcode of items or patrons

Bug #1332651 reported by Steve Callender on 2014-06-20
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Tested in 2.5 and 2.6

There is some inconsistency when dealing with spaces inside of barcodes.

For example, the registration allows you to use a space in the barcode, (My Barcode) and the F4 search will successfully find it if you search in the barcode field, but when doing a barcode search (F1) or putting in the barcode on the "Retrieve Patron" screen will not work. It looks like these two screens will trim the space out of the barcode causing the search to never be successful.

Item barcodes practically do the opposite. You can search for copies by barcode if they have a space in them (F5), but this moot since the system does not allow you to enter barcodes with spaces in them. In the item creator, it will automatically trim the space off when saving an item. This causes items that truly have spaces in them to fail when scanning in the barcode, since the item wasn't saved with the space.

So it looks like a determination needs to be made to either allow spaces in barcodes (across the board), or disallow them (across the board) because right now the screens behave in a mixed manner.


Erica Rohlfs (erohlfs) wrote :

Confirming this in Evergreen Version 2.9.

Changed in evergreen:
status: New → Confirmed
Michele Morgan (mmorgan) wrote :

I would be in favor of disallowing spaces in barcodes across the board and having all barcode input boxes, including the barcode search box in the opac, strip any spaces that may be entered.

If there are legitimate cases where patron or item barcodes must be recorded with spaces, I would like to see an option to disallow spaces across the board.

For evergreen installations that don't have a need to allow spaces in barcodes, the ability to disallow them entirely would avoid many headaches caused by inadvertently introducing a space when checking in items, or searching for items and patrons by barcode.

Galen Charlton (gmc) wrote :

There is at least one legacy system out there that includes interstitial spaces in barcode values (e.g., "T 123", "P 456", etc.). This is of course wrong and bad and terrible... but alas is a thing.

Consequently, while I would be in favor of a mode in Evergreen that strictly forbids spaces in barcodes and ignores them in barcode input widgets, I do not think it should be hardcoded.

Blake GH (bmagic) wrote :

Just FYI:
Newer versions of Evergreen remove ALL spaces within the patron barcode. See related bug 1692986. IRC Discussion:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers