[Koha-bugs] [Bug 21937] Syspref autoBarcode annual doesn't increment properly barcode in some cases
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Apr 14 20:53:19 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21937
Michal Denar <black23 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #82828|0 |1
is obsolete| |
Attachment #82829|0 |1
is obsolete| |
--- Comment #3 from Michal Denar <black23 at gmail.com> ---
Created attachment 87953
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87953&action=edit
Bug 21937: Syspref autoBarcode annual doesn't increment properly barcode in
some cases
This patch show the issue. If the DB contains a barcode (not auto attributed
by Koha) which begin with the year used to generate automatically a new one,
there may be a 'collision'.
prove -v t/db_dependent/Barcodes_ValueBuilder.t
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Michal Denar <black23 at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list