[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.07-72-g7ebf5fe

Git repo owner gitmaster at git.koha-community.org
Thu Jun 16 12:07:14 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.22.x has been updated
       via  7ebf5feec925052535bf1edfe17df6983e0f7056 (commit)
      from  7c2ed6d4863ef7904241529e5764baf8a094a38b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7ebf5feec925052535bf1edfe17df6983e0f7056
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Sat Jun 4 11:11:00 2016 -0400

    Bug 16637: Dependency for C4::Tags not listed
    
    Added optional dependency, so as to explain why testing
    explodes when the Enhanced Content system preference
    TagsExternalDictionary is set. It is optional, because not only
    does TagsExternalDictionary have to be set, but TagsEnabled
    must be 'Allow'.
    
    Also tweaked C4/Tags.pm to ignore TagsExternalDictionary,
    if Lingua::Ispell is not installed. A warning is given.
    
    TEST PLAN
    ---------
     1) Set the Enhanced Content system preference
        TagsExternalDictionary to /usr/bin/ispell
    
     2) sudo apt-get install liblingua-ispell-perl
        -- should be a new install
    
     3) prove t/db_dependent/Tags.t
        -- should work fine
    
     4) sudo apt-get remove liblingua-ispell-perl
    
     5) prove t/db_dependent/Tags.t
        -- should explode
    
     6) Clear the Enhanced Content system preference
        TagsExternalDictionary
    
     7) prove t/db_dependent/Tags.t
        -- should work fine
    
     8) apply patch
    
     9) prove t/db_dependent/Tags.t
        -- should work fine
    
    10) Set the Enhanced Content system preference
        TagsExternalDictionary to /usr/bin/ispell
    
    11) prove t/db_dependent/Tags.t
        -- should work, with warning.
    
    12) sudo apt-get install liblingua-ispell-perl
    
    13) prove t/db_dependent/Tags.t
        -- should work fine
    
    14) run koha qa test tools.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Post-hackfest hotel Olympia lobby signoff. Kalimera!
    Works as expected.
    At this moment the Tags.t test does not need the database btw,
    but the module should have much more test coverage.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit c91b16bd9e82588c7625f69e37d6435dd378915e)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit 358e7a6d61d49c3ad8b57e2ad952f3fd9e4b83de)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Installer/PerlDependencies.pm |    5 +++++
 C4/Tags.pm                       |    5 +++++
 2 files changed, 10 insertions(+)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list