Description: upgrade saying yes to DOM. Rebuild zebra index Say you have a bib record for Progeamming Perl Author: Wall, Larry Subject: Perl Computer programming language - bothheadings are authorised (with correct $9s) in an authority search the author links to 1 biblio the subject to 0 All authorities show 0 biblios Cause: originally a whitespace error in etc/zebradb/marc_defs/marc21/biblios/record.abs entries like melm 650$9 Koha-Auth-Number have a number of spaces after Number It looks like etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml was generated from this programmatically and it has created entries like Koha-Auth-Number :w when that is processed by xsl to produce the zebra index defs this becomes Koha-Auth-Number :w zebra finds the definition doesnt match and skips the $9s Removed the spaces, regenerated the biblio-zebra-indexdefs; restarted zebra and rebuilt the index and authorities link to bibs again
There are some trailing spaces in some Unimarc Title-series entries as these remain harmless (I think) and are stripped by the xsl processing
Created attachment 11646 [details] [review] Proposed Patch cleans the trailing and embedded space
Created attachment 11655 [details] [review] Revised Patch Earlier patch omitted the biblio-zebra-indexdefs.xsl - This has been included
Created attachment 11674 [details] [review] Bug 8653 remove erroneous whitespace blocking indexing The superfluous whitespace after the definition of subject tag $9s is causing an error when carried over into dom config files so that the authority links fail to index Also removed the (harmless) trailing space in the equivalent Unimarc files A good editor and git can help in not creating excess whitespace Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> passing QA, nice spotting! $ koha-qa.pl testing 1 commit(s) (applied to commit 0acebb8) * 36f58f1 Bug 8653 remove erroneous whitespace blocking indexing etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl etc/zebradb/marc_defs/marc21/biblios/record.abs etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml etc/zebradb/marc_defs/unimarc/biblios/record.abs * etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml OK * etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl OK * etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml OK
Patch pushed to master
Pushed to 3.8.x, will be in 3.8.5