]> git.koha-community.org Git - koha.git/commit
Bug 21937: Add test to show autoBarcode annual increment bug
authorFrédéric Demians <f.demians@tamil.fr>
Mon, 3 Dec 2018 17:27:08 +0000 (18:27 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 19 Apr 2019 14:32:17 +0000 (14:32 +0000)
commit7262bc066784247b12ce7f25c390498086e1d72b
treeb3b5233b85a1b60bd06641a558298a77daae6d44
parent170085397b23d9b688628a56039f5e485fade6a5
Bug 21937: Add test to show autoBarcode annual increment bug

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@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Barcodes_ValueBuilder.t