[Koha-bugs] [Bug 22204] Leading spaces in barcode should not allowed in cataloguing
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Oct 18 13:46:29 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22204
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #126266|0 |1
is obsolete| |
Attachment #126344|0 |1
is obsolete| |
--- Comment #13 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 126430
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126430&action=edit
[21.05] Bug 22204: Use barcodedecode in additem.pl
Test plan:
1. Set syspref itemBarcodeInputFilter to 'whitespace'
2. Create an item with barcode "1"
3. Try to create an item with barcode " 1 " and verify that it is
blocked
4. Create an item with barcode " XXXXX " and verify that it is saved
without spaces in database:
SELECT barcode FROM items WHERE barcode LIKE '%XXXXX%'
Co-authored-by: Jérémy Breuillard <jeremy.breuillard at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list