[Koha-bugs] [Bug 6199] Allow bulkmarcimport to blank duplicate barcodes rather than skipping items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 30 07:52:18 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6199

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
       Patch Status|Needs Signoff               |Failed QA

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> 2011-05-30 05:52:18 UTC ---
I tested the 'patch for master' on current master.

I tested with a file containing 5 records, a few items with some duplicate and
some unique barcodes.
bulkmarcimport.pl -b -v -file test.mrc -l test.txt

Before applying the patch I got errors running indicating the duplicate
barcoes. 5 items were added to my database. Reimporting the same file gave me
more duplicate errors and no additional items were added. 
bulkmarcimport.pl -b -v -file test.mrc -l test.txt

I applied the patch and ran: 
bulkmarcimport.pl -b -v -file test.mrc -l test.txt -dedupbarcode

I got no error messages: 
.....
5 MARC records done in 0.341071128845215 seconds

I reindexed, searched Koha and checked my items table. No new items were added.

-- 
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