Koha/members
Jonathan Druart a333a13da5 Bug 8007: (QA followup) Add error handling when generating the pdf
If error occurs when generating the pdf, it would be better to get an
encapsulated error instead of the "software error" message in the pdf
file.
To test this patch I added this change:

b/Koha/Borrower/Discharge.pm
-115,6 +115,7 @@ sub generate_as_pdf {
     say $html_fh $html_content;
     close $html_fh;
     my $pdf = PDF::FromHTML->new( encoding => 'utf-8' );
+    $html_path .= "poeut";
     $pdf->load_file( $html_path );
     $pdf->convert;

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-04-30 12:34:21 -03:00
..
boraccount.pl Bug 4041: (QA followup) fix issues raised by koha-qa.pl 2015-04-29 12:04:07 -03:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
discharge.pl Bug 8007: (QA followup) Add error handling when generating the pdf 2015-04-30 12:34:21 -03:00
discharges.pl Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
guarantor_search.pl Bug 13891: DataTables server-side processing - Fix regressions 2015-04-13 10:55:30 -03:00
mancredit.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
maninvoice.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
member-flags.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
member-password.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
member.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
memberentry.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-home.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update-do.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
mod_debarment.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
moremember.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
nl-search.pl Bug 11401: Add support for Norwegian national library card 2014-11-14 09:42:23 -03:00
notices.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
patronimage.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
pay.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
paycollect.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
printfeercpt.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
printinvoice.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
readingrec.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
routing-lists.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
setstatus.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
statistics.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
summary-print.pl Bug 10423: Show date due with time if it's a hourly loan 2015-04-24 20:15:50 -03:00
update-child.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00