[Koha-bugs] [Bug 14006] New: about.pl checks the wrongzebra index mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 16 21:13:37 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14006

            Bug ID: 14006
           Summary: about.pl checks the wrongzebra index mode
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: About
          Assignee: nengard at gmail.com
          Reporter: magnus at enger.priv.no
        QA Contact: testopia at bugs.koha-community.org

about.pl has these lines:

104 if ( (C4::Context->config('zebra_bib_index_mode') eq 'dom') &&
($context->{'server'}->{'biblioserver'}->{'config'} !~ /zebra-biblios-dom.cfg/)
)     {
105     push @xml_config_warnings, {
106         error => 'zebra_bib_index_mode_mismatch_warn'
107     };
108 }
109 
110 if ( (C4::Context->config('zebra_auth_index_mode') eq 'grs1') &&
($context->{'server'}->{'biblioserver'}->{'config'} =~ /zebra-biblios-dom.cfg/)
    ) {
111     push @xml_config_warnings, {
112         error => 'zebra_bib_index_mode_mismatch_warn'
113     };
114 }

I think line 110 should be looking at
C4::Context->config('zebra_*bib*_index_mode'), not
C4::Context->config('zebra_auth_index_mode')?

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


More information about the Koha-bugs mailing list