Bugzilla – Attachment 163665 Details for
Bug 27198
Sync marc21-retrieval-info-auth-dom.xml with retrieval-info-auth-dom.xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27198: Fix syntax in marc21-retrieval-info-auth-dom.xml
Bug-27198-Fix-syntax-in-marc21-retrieval-info-auth.patch (text/plain), 2.20 KB, created by
David Nind
on 2024-03-22 09:05:10 UTC
(
hide
)
Description:
Bug 27198: Fix syntax in marc21-retrieval-info-auth-dom.xml
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-03-22 09:05:10 UTC
Size:
2.20 KB
patch
obsolete
>From 9ebb90b91cc9c9c465b8ca50003b41d076050d45 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 11 Dec 2020 04:42:39 +0000 >Subject: [PATCH] Bug 27198: Fix syntax in marc21-retrieval-info-auth-dom.xml > >This patch fixes the syntax in marc21-retrieval-info-auth-dom.xml, >so that one can use the Zebra special retrieval elements documented >at https://software.indexdata.com/zebra/doc/special-retrieval.html > >These are very useful when troubleshooting issues with authority >records in Zebra. > >Test plan (using KTD): >1. yaz-client unix:/var/run/koha/kohadev/authoritysocket >2. Enter these commands: > . base authorities > . format xml > . elements zebra::snippet > . find e > . show 1 >3. Result = diagnostic message: > Diagnostic message(s) from database: > [25] Specified element set name not valid for specified database > -- v2 addinfo 'zebra::snippet' >4. Apply the patch >5. Copy updated file: sudo cp debian/templates/marc21-retrieval-info-auth-dom.xml > /etc/koha/marc21-retrieval-info-auth-dom.xml >6. Stop and restart zebra (no need to rebuild the Zebra index): > . sudo koha-zebra --stop kohadev > . sudo pkill zebrasrv > . sudo koha-zebra --start kohadev >7. Repeat commands in step 2. >8. Result from show 1 = XML output: > Sent presentRequest (1+1). > Records: 1 > Record type: XML > <record xmlns="http://www.indexdata.com/zebra/"> > <snippet name="Any" type="w">Gontarski, S. <s>E</s></snippet> > </record>nextResultSetPosition = 2 > Elapsed: 0.013929 > >Signed-off-by: David Nind <david@davidnind.com> >--- > debian/templates/marc21-retrieval-info-auth-dom.xml | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/debian/templates/marc21-retrieval-info-auth-dom.xml b/debian/templates/marc21-retrieval-info-auth-dom.xml >index 7e45f3873c..e2b608c320 100644 >--- a/debian/templates/marc21-retrieval-info-auth-dom.xml >+++ b/debian/templates/marc21-retrieval-info-auth-dom.xml >@@ -14,6 +14,7 @@ > outputcharset="utf-8"/> > </backend> > </retrieval> >+ <retrieval syntax="xml"/> > <retrieval syntax="xml" name="index"/> <!-- allow viewing index entries --> > <retrieval syntax="xml" name="marc" > identifier="info:srw/schema/1/marcxml-v1.1"/> >-- >2.30.2
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 27198
:
114319
|
163664
|
163665
|
164177