https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23992
--- Comment #2 from Andrew Nugged <nug...@gmail.com> --- this might be "WIP" (not full patch without test plan), so I need community help, because it's hard to generate test plan: I tried with all variants of barcodes and in most cases we have barcode just incremented in "->next_value" method. With patch, the error "no_next_barcode" will be generated so this will break the loop and inform the user about the wrong generation in cases when we start adding WITH barcode but then for some reason the same or empty barcode started to appear. If we start with empty barcode – then just requested numbers of items added without barcodes at all, as it was before. Also, this will prevent the infinite loop (when $i++ won't be executed) in cases when the barcode generator might stuck and return the same old or some another barcode which will be always found for some item. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/