[Koha-bugs] [Bug 23992] Adding multiple items with barcode might end with infinite loop if same barcode will be next_value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 16 09:08:18 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23992

--- Comment #5 from Andrew Nugged <nugged at gmail.com> ---
(In reply to Jonathan Druart from comment #3)

Also we had discussion about "sequence" of barcodes with KohaSuomi
community/cataloguers but I still unclear in vision.

Do librarians needs to insert barcodes for items in the middle as THEY want? 
Or is it enough to number barcodes from free space from the max? 
Or fill randomly from given incrementally skipping existing ones and no matter
how they spreaded, just should be unique and different?
Is these requirements worldwide or they need some settings + interface feedback
about skipps/stopped generator/etc?

I proposed just to print error/do partial add/inform user when barcode sequence
generated not as "user may expect", if users expects barcodes to start from
their own wished barcode. 

But I don't have answer then "should we also inform that some barcode numbers
were skipped"?
Example of the situation: if user will put first barcode which occupied, system
will increment barcodes until free gap, and user will get all items numbered
with totally diferent barcodes instead of that which he/she put on the
beginning, and this even won't give any feedback to user. Should that be so?

Maybe – we should inform user that sequence was broken (jumped over occupied
barcode, empty next one generated, barcode not re-generated), and stop?

I brought this question + partial solution here as WIP/unclear. Will
re-translate this my message to IRC chat then.

And thanks for you that you're joined this small brainstorming :).

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


More information about the Koha-bugs mailing list