[Koha-bugs] [Bug 6453] New: The "Compare barcodes list to results" functionnality of inventory.pl can't find barcodes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 3 21:55:04 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6453
Bug #: 6453
Summary: The "Compare barcodes list to results" functionnality
of inventory.pl can't find barcodes
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: rel_3_2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Tools
AssignedTo: gmcharlt at gmail.com
ReportedBy: fcapovilla at live.ca
QAContact: koha-bugs at lists.koha-community.org
Created attachment 4354
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4354
Corrects the barcode comparisons in inventory.pl
In /tools/inventory.pl :
If the option "Compare barcodes list to results" is used with a barcodes file
and an item callnumber interval, all found records are shown as "Not found
among barcodes in barcodes file." even if they actually exist in the barcodes
file.
Tested with a barcodes file containing "X00030851" and the interval "N6537 D"
to "N6538 Z" on my instance. The item with the barcode X00030851 was shown in
this interval, but had the value "Not found among barcodes in barcodes file."
in the "Problem" column.
The problem is caused by an incorrect use of the grep function with an array of
hashes.
Patch attached.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list