]> 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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Apr 2017 11:20:02 +0000 (23:20 +1200)
commitbb0a58494bd9886d2a9fa25bd3874c3ece2dd3b0
tree3c9a9ebfb653e8fc78f2b6567b4f39d67a997902
parentf5d9d7ddc86042e8fd266674899961941ff52e2a
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: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
tools/export.pl