Bugzilla – Attachment 189877 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 C4/Patroncards/Patroncard.pm
d9646e4.patch (text/plain), 1.13 KB, created by
Martin Renvoize (ashimema)
on 2025-11-21 22:13:38 UTC
(
hide
)
Description:
Bug 40680: Fix C4/Patroncards/Patroncard.pm
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-11-21 22:13:38 UTC
Size:
1.13 KB
patch
obsolete
>From d9646e4d826d9ceb086673a319c29f804266cde2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 2 Sep 2025 12:28:08 +0200 >Subject: [PATCH] Bug 40680: Fix C4/Patroncards/Patroncard.pm > >Attempt to call undefined import method with arguments (StrWidth) via package C4::Creators::PDF (Perhaps you forgot to load the package?) at /kohadevbox/koha/C4/Patroncards/Patroncard.pm line 28. > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > C4/Patroncards/Patroncard.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Patroncards/Patroncard.pm b/C4/Patroncards/Patroncard.pm >index 5d2afb1cc12..1bce60d3a15 100644 >--- a/C4/Patroncards/Patroncard.pm >+++ b/C4/Patroncards/Patroncard.pm >@@ -24,8 +24,8 @@ use autouse 'Data::Dumper' => qw(Dumper); > > #use Font::TTFMetrics; > >-use C4::Creators::Lib qw( get_unit_values ); >-use C4::Creators::PDF qw(StrWidth); >+use C4::Creators::Lib qw( get_unit_values ); >+use C4::Creators::PDF; > use C4::Patroncards::Lib qw( > box > get_borrower_attributes >-- >2.51.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
|
187815
|
187816
|
187817
|
187818
|
187819
|
187820
|
187821
|
187822
|
187823
|
187824
|
187825
|
187948
|
187949
|
187950
|
187951
|
187952
|
187953
|
187954
|
187955
|
187956
|
187957
|
187958
|
188126
|
188127
|
188128
|
188129
|
188130
|
188131
|
188132
|
188133
|
188134
|
188135
|
188136
|
189875
|
189876
| 189877 |
189878
|
189879
|
189880
|
189881
|
189882
|
189883
|
189884
|
189885