From ade2c690ca91b835263f1d0c80bafa2afa14e88e Mon Sep 17 00:00:00 2001 From: Hector Eduardo Castro Avalos Date: Mon, 4 May 2015 21:49:50 -0600 Subject: [PATCH] Bug 14103 - Discharge management: Software error on main page after upgrade If module PDF::FromHTML is set to not required, the software crash in new installations if the module is ignored. Changing the module to required will fix it up. I propose to change the module to required since people without experience on Koha will become confused. Test plan 1) Emulate new installation and not install PDF::FromHTML from cpan 2) Run perl koha_perl_deps.pl -u -m and get notice that the module is not required 3) Run your staff client and opac. The software crash showing us the error page 4) Apply patch 5) Run koha_perl_deps.pl -u -m again and observe that the module has changed to required 6) Install PDF::FromHTML and get access to staff client and opac, the error will not be displayed Sponsored-by: Universidad de El Salvador Signed-off-by: Hector Castro --- C4/Installer/PerlDependencies.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index 79cbc14..14f97b9 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -739,7 +739,7 @@ our $PERL_DEPS = { }, 'PDF::FromHTML' => { 'usage' => 'Discharge generation', - 'required' => '0', + 'required' => '1', 'min_ver' => '0.31', }, }; -- 1.7.10.4