[Koha-bugs] [Bug 9620] IncludeSeeFromInSearches ON and data in $9 subfields can break rebulid_zebra.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 15 17:35:46 CET 2013


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Severity|enhancement                 |major

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
The problem is, that only sometimes the ISBN will falsely match an authority
record. So the problem is a bit hard to reproduce this way, as I have not found
out how to make sure that ISBN and Koha's authority number match. We had this
occuring twice for a dataset of about 50.000 records.

So this is a sure way to reproduce the problem:

1) Change your frameworks: 
  * Make sure 084 $a is visible
  * Create a 084 $9 that you link to PERSO_NAME authorities.
2) Create a record or edit an existing one:
  * Use the plugin on 084 to link the record to an authority.
  * Make sure 400 is filled in your authority record.

Preparations all done, now test indexing:

1) Make sure IncludeSeeFromInSearches is OFF
> Reindexing should work without any problems.

2) Activate IncludeSeeFromInSearches
> Reindexing should throw an error and stop:
201.Subfields are only for data fields (generally, just tags >= 010 at
/home/koha/Koha/Filter/MARC/EmbedSee FromHEadings.pm line 94

So what happened: The system found the $9, found the matching authority, found
the 400, wanted to add the content of 400 to the bibliographic record for
indexing, constructed a field that was below >010 to store the data in - and
exploded.
Because controlfields have no subfields. (Naturally)

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


More information about the Koha-bugs mailing list