[Koha-bugs] [Bug 8425] Autobarcode generates duplicate barcodes with AcqCreateItems = on order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 16 08:28:25 CEST 2013


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

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
(In reply to Galen Charlton from comment #10)
> I'm not able to reproduce the problem -- I suspect it was fixed by the patch
> for bug 8495.
> 
> David: could you check to see if you're still seeing this?

Really? That's odd. Admittedly, I don't fully comprehend the black magic that
is the AJAX item add form in Acquisitions but I'm still seeing this :/.

The first item you add will have a new barcode ($nextnum in comparison to the
database). However, each new item you add to an order will have the exact same
barcode as that one since they're all using the same database data, right? I
don't see any checks against the barcode for items already in the order...

Steps to Reproduce:

1) Syspref "AcqCreateItem" to "placing an order"
2) Autobarcode to any of the options (although I do get a Javascript error for
" generated in the form <branchcode>yymm0001.". So probably try the others for
the time being...)
3) UniqueItemFields to "barcode"

4) Go to acquisitions > new basket 
5) Click on the "barcode" field for a new item, and add that item
6) Repeat step #5 and observe that they all have the same barcode

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list