[Koha-bugs] [Bug 14015] Checkout: Fix software error if barcode '0' is given
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 30 16:05:34 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14015
--- Comment #20 from Marc Véron <veron at veron.ch> ---
Hi Kyle,
You do not need an item with barcode '0' to reproduce the bug, and it is not
the aim of this bug to make it possible to use a barcode '0'
The aim of this bug is to get rid of the software error if you (per accident)
enter 0 in the barcode field of the checkout page.
I think the best description to reproduce is in comment #11
There are two different behaviours without patch:
1)
If you try it for a patron with staff permissions, an error shows up:
Can't use string ("1") as a HASH ref while "strict refs" in use at
/usr/share/kohaclone/circ/circulation.pl line 470
2)
If you try it for a user without staff permissions, the empty page appears (as
in your test)
With the patch applied, you should get the following message (for both cases):
"The barcode was not found 0 Fast cataloging"
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list