[Koha-devel] Error in biblio.pm

pete huerter pete.huerter at gmail.com
Wed Mar 30 18:41:19 CEST 2011


Yes, I had deleted 999 from our (custom) ACS Books framework, but
nowhere else.  Is it possible that that could change the "Koha to MARC
Mapping", or any of the other frameworks (like default?)

I just noticed that 999.c,d where missing entirely from our "Koha to
MARC Mapping", and (I think) this was causing all sorts of errors
(adding a biblio fails, searching, ..).  I've since added them, and
run BatchRebuildBiblioTables.pl.

It seems that we have some bad records that were added yesterday under
our ACS Books framework (that did not have 999.c,d set up properly.)
I'm thinking of just deleting these because they cause errors in
BatchRebuildBiblioTables, and batchRepairMissingBiblionumbers.pl
(http://permalink.gmane.org/gmane.education.libraries.koha.devel/5569).

It seems like 999c,d are integral to the functioning of Koha.

Thanks,
Pete.

On Tue, Mar 29, 2011 at 5:14 PM, Chris Cormack <chris at bigballofwax.co.nz> wrote:
> On 30 March 2011 10:06, Paul <paul.a at aandc.org> wrote:
>> I would appreciate some assistance with biblionumber and biblioitemnumber,
>> given that we can no longer enter new biblios.
>>
>> Error code is : "Tag "" is not a valid tag. at
>> /usr/share/koha/lib/C4/Biblio.pm line 2848"
>>
>> That line (under the head : "Internal function to add or update biblionumber
>> and biblioitemnumber to
>> the MARC XML" is the first of these four:
>>
>>        my $new_field = MARC::Field->new(
>>        $biblio_tag, '', '',
>>        "$biblio_subfield"     => $biblionumber,
>>        "$biblioitem_subfield" => $biblioitemnumber
>>
>> What are the values that biblio.pm is expecting, and where exactly are they
>> input from GUI page
>> <http://koha-admin/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=0&z3950=1&frameworkcode=AB&breedingid=38301#>
>> ?
>>
>> It seems that the call is based upon biblionumber=0 [which is <10, therefore
>> creating the error according line 2847 : "# biblionumber & biblioitemnumber
>> are in the same field (can't be <10 as fields <10 have only 1 value)"] and
>> seeing as we are using a custom framework (cut down to what we need for
>> cataloguing staff purposes), I need to know what particular line I have set
>> to "ignore" that is creating the error. What "Tag" have I left out?
>>
>> Can't find anything in the docs on this "Internal function."
>>
>> Thanks for any pointers,
>
> Hi Paul
>
> Have you messed around with the 999 field and subfields? Specifically
> breaking their mappings or deleting them entirely?
>
> Chris
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/


More information about the Koha-devel mailing list