Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules
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
..
errors Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
sco Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
svc Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
text Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
ilsdi.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
maintenance.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
opac-account.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-addbybiblionumber.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-advsearch.tt Bug 13307: (QA Followup) indentation fix 2015-04-13 13:49:27 -03:00
opac-alert-subscribe.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-auth-detail.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-auth-MARCdetail.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-auth.tt Bug 12291: Replace acronym with tag at the OPAC 2015-03-31 10:53:08 -03:00
opac-authorities-home.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-authoritiessearchresultlist.tt Bug 13609: Cross Site Scripting problem in authority search result list paging 2015-01-22 16:39:14 -03:00
opac-basket.tt Bug 9214 - Show damaged status in the OPAC for items which are not for loan 2014-11-11 15:13:03 -03:00
opac-blocked.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-browser.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-course-details.tt Bug 10632 [Follow-up] Enable datatables for courses and course details in the OPAC 2014-11-11 16:07:33 -03:00
opac-course-reserves.tt Bug 10632 [Follow-up] Enable datatables for courses and course details in the OPAC 2014-11-11 16:07:33 -03:00
opac-detail.tt Bug 8992: Interfacing with the Idref webservice 2015-04-28 15:46:26 -03:00
opac-discharge.tt Bug 8007: (QA followup) Add error handling when generating the pdf 2015-04-30 12:34:21 -03:00
opac-downloadcart.tt Bug 13695: Add ISBD export option for the OPAC cart and lists 2015-03-31 10:34:35 -03:00
opac-downloadshelf.tt Bug 13695: Add ISBD export option for the OPAC cart and lists 2015-03-31 10:34:35 -03:00
opac-full-serial-issues.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-idref.tt Bug 8992: (QA followup) <body> was missing id and class 2015-04-28 18:11:35 -03:00
opac-imageviewer.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-ISBDdetail.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-main.tt Bug 13729 - Give news in Opac a unique anchor 2015-02-24 11:24:22 -03:00
opac-MARCdetail.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-memberentry-update-submitted.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-memberentry.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
opac-messaging.tt Bug 10174: Add a tooltip to explain what is a digest 2015-04-23 12:50:38 -03:00
opac-mymessages.tt Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
opac-opensearch.tt Bug 11308: fix RSS page in bootstrap theme 2013-11-27 15:50:19 +00:00
opac-overdrive-search.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-passwd.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-privacy.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-readingrecord.tt Bug 13234 [Follow-up] Make on-site checkouts visible in OPAC 2014-11-19 11:33:36 -03:00
opac-registration-confirmation.tt Bug 13599 - Add patron cardnumber to self registration confirmation 2015-02-02 11:35:49 -03:00
opac-registration-email-sent.tt Bug 13095: An email will be sent shortly 2014-10-28 10:46:18 -03:00
opac-registration-invalid.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-reserve.tt Bug 5786 - Move AllowOnShelfHolds and OPACItemHolds system prefs to the Circulation Matrix 2015-03-25 10:33:14 -03:00
opac-results-grouped.tt Bug 5786 - Move AllowOnShelfHolds and OPACItemHolds system prefs to the Circulation Matrix 2015-03-25 10:33:14 -03:00
opac-results.tt Bug 13307: Create a link to the last advanced search in search result page (OPAC) 2015-04-13 13:47:34 -03:00
opac-review.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-search-history.tt Bug 11430 [Follow-up] Search history: Delete selected lines 2015-03-11 15:02:45 -03:00
opac-sendbasket.tt Bug 11357 - biblioitems.size value not correctly displayed in list emails sent from OPAC and intranet 2014-07-01 15:29:29 +12:00
opac-sendbasketform.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-sendshelf.tt Bug 11357 - biblioitems.size value not correctly displayed in list emails sent from OPAC and intranet 2014-07-01 15:29:29 +12:00
opac-sendshelfform.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-serial-issues.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-shareshelf.tt Bug 13857: Email field for sharing is a bit short 2015-03-31 11:30:54 -03:00
opac-shelves-rss.tt Bug 1917 [QA Followup] - Use html filter, only show 'by' if author exists, change link title 2015-04-29 12:09:23 -03:00
opac-shelves.tt Bug 1917 [QA Followup] - Remove unnecessary use of html filter 2015-04-29 12:09:24 -03:00
opac-showmarc.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-showreviews-rss.tt Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
opac-showreviews.tt Bug 13826 - OPAC: Display RSS icon on list of recent comments 2015-03-19 14:18:17 -03:00
opac-suggestions.tt Bug 10752: (QA followup) rephrase erorr messages a little 2015-04-28 15:43:19 -03:00
opac-tags.tt Bug 13119 - Use XSLT to display tagged titles in the OPAC 2015-01-04 11:28:11 -03:00
opac-tags_subject.tt Bug 12162 - Add class="branchcode" to body tag to make OPAC CSS-styleable per branch 2014-09-23 15:39:31 -03:00
opac-topissues.tt Bug 13268 - biblioitems.size value not correctly displayed (more) 2015-02-05 14:46:35 -03:00
opac-user.tt Bug 14016: (follow-up) Restore correct date format on issue date (00:00 vs 23:59) 2015-04-22 16:24:04 -03:00