[Koha-bugs] [Bug 8665] New: DOM indexing fails to index some bib records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 22 10:16:02 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8665
                CC: m.de.rooy at rijksmuseum.nl
          Assignee: gmcharlt at gmail.com
           Summary: DOM indexing fails to index some bib records
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: colin.campbell at ptfs-europe.com
          Hardware: All
            Status: NEW
           Version: master
         Component: Cataloging
           Product: Koha

Switched on dom indexing and some records became unfindable. e.g. of a 5 volume
set only one volume could be retrieved. The problem is reproduceable thus:

Copy a bib record. Change what you like in the new record but keep the 001 the
same. Rebuild zebra on bibs. Only one of the records will appear when
searching.

Problem appears to be
etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl  which contains
the following

  <xslo:attribute name="z:id">
        <xslo:value-of select="$controlField001"/>
      </xslo:attribute>

which appears to set the record id to the contents of 001, with the result that
only one record for each distinct 001 is indexed. Replacing the controlField001
with another value resolves the problem.

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


More information about the Koha-bugs mailing list