[Koha-bugs] [Bug 17990] Code to check perl module versions is buggy

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 27 00:20:40 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17990

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #59546|0                           |1
        is obsolete|                            |

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
Created attachment 59590
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59590&action=edit
Bug 17990: Refactor Perl module versions check

The code is duplicated, variable are not set ($_), code is hard to read,
not covered by tests and the subroutine has 2 completely different
behaviors depending on the presence of the "module" parameter.
No need more ti rewrite it.

Test plan:
- Use koha_perl_deps.pl with the different options (-u -m -a -i)
- Go on the about page, "Perl modules" tab

You should not see any differences from before and after this patch

Signed-off-by: David Cook <dcook at prosentient.com.au>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list