]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 3 Mar 2017 17:07:39 +0000 (17:07 +0000)
commitd43131c4fca8124a8a9e4dcdea82e2bdf1af196a
tree4bb102e8977c1ff95e899dfdf438706c32d9d084
parent18af48bffe112a5df61a8a546da86dc31f32a7e7
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
tools/export.pl