[Koha-bugs] [Bug 16637] t/00-load.t warning from C4/Tags.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 4 17:32:40 CEST 2016


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

M. Tompsett <mtompset at hotmail.com> changed:

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

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 52059
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52059&action=edit
Bug 16637: Optional Dependency not listed

If a user decides to set the Enhanced Content system preference
TagsExternalDictionary to something (e.g. /usr/bin/ispell),
but the Lingua::Ispell perl library is not installed, Koha dies
ungracefully.

TEST PLAN
---------
 1) fill in TagsExternalDictionary system preference
 2) check out the Perl modules tab in the about Koha page
    -- Lingua::Ispell is not listed.
 3) sudo apt-get install liblingua-ispell-perl
    -- likely uninstalled, so this will ensure it is.
 4) prove t/db_dependent/Tags.t
    -- should work fine.
 5) sudo apt-get remove liblingua-ispell-perl
 6) prove t/db_dependent/Tags.t
    -- it should die horribly because Lingua::Ispell is not installed.
 7) apply patch
 8) prove t/db_dependent/Tags.t
    -- like bug 16582 and the others, all tests will be skipped
       and a notice given of the missing optional library
 9) sudo apt-get install liblingua-ispell-perl
10) prove t/db_dependent/Tags.t
    -- should run fine
11) check out the Perl modules tab in the about Koha page
    -- Lingua::Ispell is listed.
12) run koha qa test tools

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


More information about the Koha-bugs mailing list