Bug 18280 - Prevent duplicate barcodes being created with autBarcode
Summary: Prevent duplicate barcodes being created with autBarcode
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Tomás Cohen Arazi
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-15 22:48 UTC by David Roberts
Modified: 2023-04-16 14:21 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Roberts 2017-03-15 22:48:58 UTC
When several cataloguers are cataloguing simultaneously and the autoBarcode system preference is set to generate the barcodes in 1, 2, 3 form, it is possible that the same item barcode will be assigned to two different items at the same time which prevents the record from being saved. Koha should lock the barcode in some way once it has been allocated, even if the item record is not yet saved.
Comment 1 Tomás Cohen Arazi 2022-12-14 11:45:45 UTC
What if... Koha locked the barcode on cataloguing instead, and the barcode got calculated on saving?
Comment 2 Katrin Fischer 2023-04-16 14:21:05 UTC
(In reply to Tomás Cohen Arazi from comment #1)
> What if... Koha locked the barcode on cataloguing instead, and the barcode
> got calculated on saving?

I think this would work and avoid some of the known issues. We also do it for cardnumbers, so why not for barcodes :)