[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 24 08:38:01 CEST 2012


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Duplicate barcodes          |Autobarcode generates
                   |generated when placing an   |duplicate barcodes with
                   |Order in Acquisitions when  |AcqCreateItems = on order
                   |AcqCreateItem = "placing an |
                   |order" and Autobarcode is   |
                   |turned on                   |

--- Comment #8 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I can replicate the problem:

When using Autobarcode items created on order will all get the same(!) barcode.
Additionally the check on saving the order fails, so you get no notice and only
one item is created.

I think this is because Autobarcode checks for the next barcode in the
database. We are creating more than one item at once, so there is a problem.

I am not sure if that part of the problem can be solved easily, but the form
should warn on saving when duplicate barcodes are detected.

Settings:
UniqueItemFields: barcode
AcqCreateItem: placing an order
Autobarcode: 1, 2, 3...

Turning off Autobarcode (do not generate) didn't solve the problem. There is a
javascript error that you can see when saving the order in Firebug. Filing
another bug for the broken duplicate check.

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