Main Koha release repository https://koha-community.org
Find a file
Tomas Cohen Arazi f3f41caa6d Bug 22343: (QA follow-up) Wrap email creation inside the try/catch block
At a later development stage, exceptions where added for bad addresses.
This wasn't addressed in the controllers.

This patch makes the basket and list sending controller scripts move
email creation inside the try/catch block to handle those situations. It
also UTF-8 encodes the attached marc.

On broadly testing this I found that if the TT templates that are used
to build the email contains non-latin characters, those get
double-encoded. So this patch also removes an explicit encoding that is
done, which colides with Email::MIME implicit encoding.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-10-02 10:54:41 +02:00
acqui Bug 17458: Remove use of datereceived from order receive page 2020-09-28 16:09:10 +02:00
admin Bug 22343: Allow choosing an SMTP server in branches.pl 2020-10-02 10:54:41 +02:00
api Bug 22343: API routes for SMTP servers CRUD 2020-10-02 10:54:40 +02:00
authorities Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
basket Bug 22343: (QA follow-up) Wrap email creation inside the try/catch block 2020-10-02 10:54:41 +02:00
C4 Bug 22343: (QA follow-up) Fix some comments 2020-10-02 10:54:41 +02:00
catalogue Bug 24155: Apply weights if not advanced search 2020-10-01 10:33:10 +02:00
cataloguing Bug 24155: Make weighting an option on advanced search 2020-10-01 10:33:10 +02:00
circ Bug 25261: (QA follow-up) Prevent server error on bad barcode 2020-10-01 10:33:10 +02:00
clubs Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
course_reserves Bug 14648: Batch remove reserve items 2020-10-01 10:33:10 +02:00
debian Bug 16357: Only use Log4perl middleware if appenders defined 2020-09-28 16:09:10 +02:00
docs Bug 26425: Update history.txt 2020-09-30 17:30:13 +02:00
errors
etc Bug 21979: Add option to SIP2 config to send arbitrary item field in CR instead of collection code 2020-10-01 10:33:10 +02:00
ill
installer Bug 22343: (QA follow-up) Ensure FK names don't conflict 2020-10-02 10:54:41 +02:00
Koha Bug 22343: (QA follow-up) Fix some comments 2020-10-02 10:54:41 +02:00
koha-tmpl Bug 22343: (follow-up) Add a hint to the debug form option 2020-10-02 10:54:41 +02:00
labels Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
members Bug 26269: Fix variable name mismatch for cash_register in paycollect 2020-09-18 10:38:04 +02:00
misc Bug 22343: Adapt runreport.pl 2020-10-02 10:54:40 +02:00
offline_circ Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
opac Bug 22343: (QA follow-up) Wrap email creation inside the try/catch block 2020-10-02 10:54:41 +02:00
patron_lists Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
patroncards Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
plugins Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
pos Bug 26418: Fix translatability of REFUND credit type 2020-09-28 15:07:27 +02:00
reports Bug 17801: Use issuedate for limits in Most Circulated Items 2020-09-03 14:18:23 +02:00
reserve Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
reviews Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
rotating_collections Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
serials Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
services
skel
suggestion Bug 11176: Add active switch on budgets select in suggestions 2020-09-28 16:09:11 +02:00
svc Bug 25261: (QA follow-up) Add confirmation to issues table 2020-10-01 10:33:10 +02:00
t Bug 22343: Make C4::Letters use the new SMTP server config 2020-10-02 10:54:40 +02:00
tags Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
tmp/modified_authorities
tools Bug 23114: Inventory: allow to scan barcodes 2020-10-01 10:33:10 +02:00
virtualshelves Bug 22343: (QA follow-up) Wrap email creation inside the try/catch block 2020-10-02 10:54:41 +02:00
xt Bug 26384: Add .t extension to make the script executed by CI 2020-09-28 11:08:03 +02:00
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap Bug 26394: Update .mailmap 2020-09-11 09:56:56 +02:00
.perlcriticrc Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
.scss-lint.yml
about.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
changelanguage.pl
cpanfile Bug 22343: Revamped Koha::Email class 2020-10-02 10:54:40 +02:00
fix-perl-path.PL Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
gulpfile.js Bug 20168: (follow-up) Add automatic creation of RTL CSS 2020-09-09 14:13:09 +02:00
help.pl
INSTALL
Koha.pm Bug 25261: DBRev 20.06.00.043 2020-10-01 11:41:36 +02:00
koha_perl_deps.pl
kohaversion.pl Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
LICENSE
mainpage.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
Makefile.PL Bug 26265: Add missing xt dir 2020-08-24 12:30:53 +02:00
MANIFEST.SKIP
package.json Bug 20168: (follow-up) Add automatic creation of RTL CSS 2020-09-09 14:13:09 +02:00
README
README.md
README.robots
rewrite-config.PL Bug 25792: Rename 'ttf-dejavu' package to 'fonts-dejavu' for Debian 11 2020-07-21 14:34:25 +02:00
yarn.lock Bug 20168: (follow-up) Add automatic creation of RTL CSS 2020-09-09 14:13:09 +02:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo