]> git.koha-community.org Git - koha.git/commit
Bug 18087: Handle invalid filetypes
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 Feb 2017 09:52:14 +0000 (10:52 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 12 Mar 2017 22:30:01 +0000 (23:30 +0100)
commit1ce1107af53c58692ea31912f53944ee1c450f6c
tree39ce94f8f0a7d8e540953e71fee514c7761d1d61
parentc548686674e991d074f2c67438844b64b0ceb4d7
Bug 18087: Handle invalid filetypes

If an invalid file is used as biblionumber list, we should display a
message.

Test plan:
1/ Use csv, plain text files
=> Should work
2/ Use invalid files (binary files like pdf, doc*, xsl*, etc.)
=> Should not work and see a warning message.

Amended patch after signoff: Remove one warn debug line

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit d43131c4fca8124a8a9e4dcdea82e2bdf1af196a)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
tools/export.pl