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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 31 01:49:58 CEST 2022


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com
             Status|Signed Off                  |Failed QA

--- Comment #13 from David Nind <david at davidnind.com> ---
After signing off, I checked again and have changed to Failed QA - as trimming
spaces on the check out, check in, renew, course reserves forms doesn't seem to
work.

It certainly works when editing the item and saving it - the spaces before and
after are removed.

However, after applying the patch, but not editing the item where spaces before
and after the barcode were added in step 1, I tried:
  . Circulation > Check out: doesn't work - barcode not found
  . Circulation > Check in: doesn't work - barcode not found
  . Circulation > Renew: doesn't work - barcode not found
  . Course reserves > Add reserves for [course name]: doesn't work - barcode
not found
  . Search the catalog: works (finds record with item barcode, as it did before
the patch was applied)

I hope I have understood what the patch is supposed to do correctly!

Notes: The OPAC continue to work as expected (search with spaces before and
after the barcode, and advanced search).

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


More information about the Koha-bugs mailing list