[Koha-bugs] [Bug 19431] Error when trying to checkout an unknown barcode
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 11 02:02:35 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19431
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #67863|0 |1
is obsolete| |
--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 67917
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67917&action=edit
Bug 19431: Fix error when checking out an unknown barcode
It seems this has been caused by
commit 1544f9a5d4a8acd47c97d7c6ac55dee8e759d3ff
Bug 18276: Remove GetBiblioFromItemNumber - circulation pages
To reproduce the problem you need switch on the two prefs
- OnSiteCheckouts
- OnSiteCheckoutsForce
Test plan:
Try to check an item out using an unknown barcode
With the 2 prefs set to on and without this patch, you will get the
following error in the log
Can't call method "materials" on an undefined value at
/home/vagrant/kohaclone/circ/circulation.pl line 387.
With this patch applied you should not get this error and a correct
behaviour for the different pref combinations.
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list