[Koha-bugs] [Bug 30328] Add ability to generate barcode with branch specific prefix

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 5 11:04:34 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30328

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #10 from Owen Leonard <oleonard at myacpl.org> ---
I'm getting an error when I try to use the "Add multiple copies" option:

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Data too long for column 'barcode' at row 1 at
/kohadevbox/koha/Koha/Object.pm line 170
 at /usr/share/perl5/DBIx/Class/Exception.pm line 77

I'm not sure why this happened--it wasn't because I'd added a prefix which
would cause the barcode to be too long. However, it does highlight that it is a
possibility: If someone uses a prefix 10 characters long the barcode will
always exceed the size of items.barcode.

It also occurs to me... Shouldn't the prefix be determined by the item's home
library, not by the user's logged-in library? In our system, for instance,
cataloging for all the branches is done at one location.

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


More information about the Koha-bugs mailing list