https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41601
Bug ID: 41601
Summary: Bug 38516 breaks PDF export for basket groups when
using API2::PDF > 2.042
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P5 - low
Component: Acquisitions
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
We noticed that the PDF export for basket groups broke with the security update
24.11.11. We tracked it down to the change in bug 38516.
The error from the logs is:
Can't locate object method "to_string" via package "PDF::API2" at
/usr/share/koha/lib/Koha/pdfformat/layout2pagesde.pm line 250.
The problem is that to_string and from_string only exist since 2.0.42. See
change log:
https://metacpan.org/dist/PDF-API2/changes
- Renamed several methods in the PDF::API2 base class:
- end -> close
- open_scalar -> from_string
- stringify -> to_string
- pages -> page_count
...
We are using packages with Debian 11. This seems to include 2.0.38.
Koha names the minimal required version as 2 on the about page.
I believe this means more libraries are probably affected.
Changing the method names to the old ones fixed the PDF export for us.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/