[Koha-bugs] [Bug 23384] Calling Koha::Article::Status::* without "use" in Patron.pm can cause breakage

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 10:29:50 CEST 2019


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

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |magnus at libriotech.no

--- Comment #4 from Magnus Enger <magnus at libriotech.no> ---
(In reply to Andrew Isherwood from comment #3)
> - Edit "use Illrequests;" to the top of C4/Circulation.pm

You mean Koha::Illrequests, right? 

I still cant reproduce the problem. I did this:

$ git diff
diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index 014c018628..ae3e1bbc0e 100644
--- a/C4/Circulation.pm
+++ b/C4/Circulation.pm
@@ -24,6 +24,7 @@ use strict;
 use DateTime;
 use POSIX qw( floor );
 use Koha::DateUtils;
+use Koha::Illrequests;
 use C4::Context;
 use C4::Stats;
 use C4::Reserves;

Did a restart_all in kohadevbox. But nothing obviously bad happens. I can still
check out a book, for example.

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


More information about the Koha-bugs mailing list