I had some malfunction (probably incorrect configuration of one framework) in my Koha. One of the results was that items.marc and items.marcxml were build without the 952 fields. Koha still work (circulation, etc.), but it is impossible to edit items. So I need to fix the marcxml and marc fields in the items table. Do someone have a script to fix this?
Thank you
Verónica Lencinas
Hi Verónica
Yep, there is a script in misc/maintenance called sync_items_in_marc_bib.pl that will do exactly this for you.
"Replaces the item data embedded in the MARC bib records (for indexing) with the authoritative item data as stored in the items table.
If Zebra is used, run rebuild_zebra.pl -b -r after running this script.
NOTE: this script should be run only if there is reason to suspect that the embedded item tags are not in sync with the items table."
Chris
Thank you very much for your help. Unfortunately I get an error message if I try to run the script: Use of uninitialized value in pattern match (m//) at /usr/share/koha-puntobiblio/lib/C4/Biblio.pm line 2801.
Thats just a warn, not an error, so that can be ignored. Did the script finish running?
Chris
I ran it again and it stopped after a while with another error message: Wide character in null operation at /usr/share/perl5/MARC/Charset/Table.pm line 96. A look at the database doesn't show any difference. Verónica Lencinas Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/