Bug 22282: Fix PDF issue when exporting PDF in French format.
authorLiz Rea <liz@catalyst.net.nz>
Thu, 31 Jan 2019 22:41:29 +0000 (22:41 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 15 Feb 2019 07:07:01 +0000 (08:07 +0100)
Fixing up QA comments, keeping 1st instance and removing the 2nd.
Original test plan by Christophe Croullebois.

To test :
Without the patch :

1° select in Acquisitions preferences/OrderPdfFormat French 3-page
2° restart plack if needed
3° In acqui/basketgroup.pl select closed tab
4° Click on "Export as PDF" button
5° You should see a blank page saying "Internal Server Error"

With the patch :

Do the same

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 0844f2c174c83ce3da11be07511730b0c220e5ad)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 981670c68cb3d12b30c410c12ed6488f5a555117)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 25111a3182504b712d60f9b39097bdda00c78632)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Koha/pdfformat/layout3pagesfr.pm

index c94fcf9..1c30001 100644 (file)
@@ -20,7 +20,7 @@ package Koha::pdfformat::layout3pagesfr;
 # with Koha; if not, see <http://www.gnu.org/licenses>.
 
 #you can use any PDF::API2 module, all you need to do is return the stringifyed pdf object from the printpdf sub.
-package pdfformat::layout3pagesfr;
+
 use vars qw(@ISA @EXPORT);
 use MIME::Base64;
 use List::MoreUtils qw/uniq/;