[Koha-bugs] [Bug 35518] Call to C4::Context->userenv happens before it's gets populated breaks code logic in circulation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 15 18:32:31 CET 2024


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

Michael Hafen <michael.hafen at washk12.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.hafen at washk12.org

--- Comment #10 from Michael Hafen <michael.hafen at washk12.org> ---
I found a bug with this patch.  Because the AutoSwitch check has been moved to
after the @$barcodes variable is filled, if I scan a patron barcode into the
item barcode field (as my librarians do all the time), the @$barcodes variable
gets filled, but not emptied, and the 'Barcode not found' error surfaces.  I'll
be submitting a (trivial) patch to correct that in a moment.

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


More information about the Koha-bugs mailing list