Bugzilla – Attachment 186657 Details for
Bug 40680
Many warnings on Perl 5.40 due to importing methods from not yet defined packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40680: Fix acqui scripts
Bug-40680-Fix-acqui-scripts.patch (text/plain), 2.55 KB, created by
Jonathan Druart
on 2025-09-22 09:00:13 UTC
(
hide
)
Description:
Bug 40680: Fix acqui scripts
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-09-22 09:00:13 UTC
Size:
2.55 KB
patch
obsolete
>From f8483e335adf408c480fdb9509453aa4b16286e5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 2 Sep 2025 12:29:02 +0200 >Subject: [PATCH] Bug 40680: Fix acqui scripts > >Attempt to call undefined import method with arguments (get_active) via package Koha::Acquisition::Currencies (Perhaps you forgot to load the package?) at acqui/addorder.pl line 133. >--- > acqui/addorder.pl | 2 +- > acqui/invoice.pl | 2 +- > acqui/neworderempty.pl | 2 +- > acqui/orderreceive.pl | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/acqui/addorder.pl b/acqui/addorder.pl >index ef759925c59..d6075b34d46 100755 >--- a/acqui/addorder.pl >+++ b/acqui/addorder.pl >@@ -130,7 +130,7 @@ use C4::Log qw( logaction ); > use C4::Output qw( output_html_with_http_headers ); > use C4::Suggestions qw( ModSuggestion ); > use Koha::Acquisition::Baskets; >-use Koha::Acquisition::Currencies qw( get_active ); >+use Koha::Acquisition::Currencies; > use Koha::Acquisition::Orders; > use Koha::AdditionalFields; > use Koha::DateUtils qw( dt_from_string ); >diff --git a/acqui/invoice.pl b/acqui/invoice.pl >index d38a83d217b..c376b42903d 100755 >--- a/acqui/invoice.pl >+++ b/acqui/invoice.pl >@@ -38,7 +38,7 @@ use JSON qw( encode_json ); > use C4::Log qw(logaction); > > use Koha::Acquisition::Booksellers; >-use Koha::Acquisition::Currencies qw( get_active ); >+use Koha::Acquisition::Currencies; > use Koha::AdditionalFields; > use Koha::DateUtils qw( output_pref ); > use Koha::Misc::Files; >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index b68ace84742..f7ed137a660 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -89,7 +89,7 @@ use C4::Search qw( FindDuplicate ); > use C4::ImportBatch qw( SetImportRecordStatus SetMatchedBiblionumber GetImportRecordMarc ); > > use Koha::Acquisition::Booksellers; >-use Koha::Acquisition::Currencies qw( get_active ); >+use Koha::Acquisition::Currencies; > use Koha::Biblios; > use Koha::BiblioFrameworks; > use Koha::DateUtils qw( dt_from_string ); >diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl >index 06564c730a3..d65236f8818 100755 >--- a/acqui/orderreceive.pl >+++ b/acqui/orderreceive.pl >@@ -70,7 +70,7 @@ use C4::Biblio qw( GetMarcStructure ); > use C4::Suggestions qw( GetSuggestion GetSuggestionInfoFromBiblionumber GetSuggestionInfo ); > > use Koha::Acquisition::Booksellers; >-use Koha::Acquisition::Currencies qw( get_active ); >+use Koha::Acquisition::Currencies; > use Koha::Acquisition::Orders; > use Koha::DateUtils qw( dt_from_string ); > use Koha::ItemTypes; >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40680
:
186031
|
186032
|
186033
|
186034
|
186035
|
186036
|
186037
|
186038
|
186039
|
186040
|
186041
|
186654
|
186655
|
186656
|
186657
|
186658
|
186659
|
186660
|
186661
|
186662
|
186663
|
186664
|
187122
|
187123
|
187124
|
187125
|
187126
|
187127
|
187128
|
187129
|
187130
|
187131
|
187132
|
187385
|
187609
|
187610
|
187611
|
187612
|
187613
|
187614
|
187615
|
187616
|
187617
|
187618
|
187619