[Koha-bugs] [Bug 6448] EAN-13 barcode support

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 3 11:32:43 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6448

--- Comment #23 from Paul Poulain <paul.poulain at biblibre.com> ---
(In reply to comment #22)
> I thought it was because of my database, but I'm not sure it is. Is it
> because of the database jenkins uses or something else, I can't say.

OK, it is my database, but also the jenkin's one !

I activated $debug, and see:
autoBarcode format = EAN13 at t/db_dependent/Barcodes.t line 26
trying to create new EAN13
Retrieving max database query.
(current) max barcode found: 3.436456908560981e17
3.436456908560981e17 not valid EAN-13 barcode at
/home/paul/koha.dev/koha-community//C4/Barcodes/EAN13.pm line 43.

I see that the (current) max barcode found comes from
SELECT max(abs(barcode)) FROM items LIMIT 1;

which is wrong for me because I don't have EAN13 as barcodes, but seems it's
also wrong for the jenkins database.
Dobrica, please provide needed information to chris_c !

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


More information about the Koha-bugs mailing list