Bugzilla – Attachment 38632 Details for
Bug 14006
about.pl checks the wrong zebra index mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 14006: about.pl checks the wrong zebra index mode
PASSED-QA-Bug-14006-aboutpl-checks-the-wrong-zebra.patch (text/plain), 2.17 KB, created by
Katrin Fischer
on 2015-04-29 05:59:53 UTC
(
hide
)
Description:
[PASSED QA] Bug 14006: about.pl checks the wrong zebra index mode
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-04-29 05:59:53 UTC
Size:
2.17 KB
patch
obsolete
>From 09538b57de740ea27e69579f1e2b717baeeea9e1 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Mon, 20 Apr 2015 15:39:45 -0300 >Subject: [PATCH] [PASSED QA] Bug 14006: about.pl checks the wrong zebra index > mode > >When setting zebra_bib_index_mode to grs1 I get two warnings when not applying the patch: > >"The <zebra_bib_index_mode> entry is set to grs1. GRS-1 support is now deprecated and will be removed in future releases. Please use DOM instead by setting <zebra_bib_index_mode> to dom (full reindex required)." > >"You have set <use_zebra_facets> but the <zebra_bib_index_mode> is not set to dom. Falling back to legacy facet calculation." > >When applying the patch a third warning appears in addition to the two previous ones: > >"The <zebra_bib_index_mode> entry is set to dom, but your system still appears to be set up for grs1 indexing." > >Seems like the patch does what it should to me regarding the configuration mismatch warning. > >Signed-off-by: Eivin Giske Skaaren <eskaaren@yahoo.no> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > about.pl | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/about.pl b/about.pl >index 709a667..cf8ab4f 100755 >--- a/about.pl >+++ b/about.pl >@@ -101,13 +101,17 @@ if ( ! defined C4::Context->config('zebra_bib_index_mode') ) { > if C4::Context->config('zebra_bib_index_mode') eq 'grs1'; > } > >-if ( (C4::Context->config('zebra_bib_index_mode') eq 'dom') && ($context->{'server'}->{'biblioserver'}->{'config'} !~ /zebra-biblios-dom.cfg/) ) { >+if ( (C4::Context->config('zebra_bib_index_mode') eq 'dom') && >+ ($context->{'server'}->{'biblioserver'}->{'config'} !~ /zebra-biblios-dom.cfg/) ) { >+ > push @xml_config_warnings, { > error => 'zebra_bib_index_mode_mismatch_warn' > }; > } > >-if ( (C4::Context->config('zebra_auth_index_mode') eq 'grs1') && ($context->{'server'}->{'biblioserver'}->{'config'} =~ /zebra-biblios-dom.cfg/) ) { >+if ( (C4::Context->config('zebra_bib_index_mode') eq 'grs1') && >+ ($context->{'server'}->{'biblioserver'}->{'config'} =~ /zebra-biblios-dom.cfg/) ) { >+ > push @xml_config_warnings, { > error => 'zebra_bib_index_mode_mismatch_warn' > }; >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14006
:
38207
|
38463
| 38632