]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 May 2019 07:49:39 +0000 (07:49 +0000)
commite4a7a7f05d20b122b70174ecfe2fa90b4745c3b8
tree01f19b0625b49791f0c63e9e7b556febd5de412a
parent3662049d146d7e584f9afa43accbbea38fbca92b
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>
(cherry picked from commit 7262bc066784247b12ce7f25c390498086e1d72b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit a85edfb2be449cf65691d1e4b32080310ac7aad2)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Barcodes_ValueBuilder.t