[Koha-bugs] [Bug 5717] New: Some search results appear as "No Title" when zebraqueue is used instead rebuild_zebra.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 8 19:25:43 CET 2011


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

           Summary: Some search results appear as "No Title" when
                    zebraqueue is used instead rebuild_zebra.pl
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Command-line Utilities
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: fcapovilla at live.ca
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


Created attachment 3099
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3099
Adds the record fixing subroutines from rebuild_zebra.pl in
zebraqueue_daemon.pl

When using zebraqueue to watch our MARC records, we sometimes encountered
results showing "No Title". Those records had no biblionumber because they were
not  returned correctly by Zebra. We also noticed that the problem was only
noticeable after a record was modified, which caused it to be reindexed by
zebraqueue.

I noticed that zebraqueue wasn't using the fix_leader, fix_biblio_ids,
fix_authority_id and fix_unimarc_100 subroutines that can be found in
rebuild_zebra.pl .

I added and used these subroutines in zebraqueue_daemon.pl so zebraqueue would
do the same modifications that rebuild_zebra.pl did on the records sent to
Zebra. 
This change seems to have fixed the problem in my Koha instances, the "No
Title" records are now shown correctly in the search results.

A patch containing my modifications is attached.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list