[Koha-bugs] [Bug 30409] barcodedecode() should always trim barcode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 3 15:30:28 CEST 2022


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

--- Comment #15 from Peter Vashchuk <stalkernoid at gmail.com> ---
Hey David, could you please check this again?

How I reproduced your problems with the patch applied:
- Circulation > Check in: I used "     39999000008098 " and it did work,
it trimmed all trailing whitespaces and found the correct item with the barcode 
I was looking for,
- Circulation > Check out: I used "     39999000008098 " again and again it did 
work, it trimmed all trailing whitespaces and found the correct item.
- Circulation > Renew: I used "     39999000008098 " again, worked as well.
- Course reserves > Add reserves for [course name]: used "     39999000008098 " 
input and it worked here as well.

I also tried different barcodes and they all work while trailing whitespaces
were properly removed.

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


More information about the Koha-bugs mailing list