[Koha] Authority Merge Error (3.22) + Framework error (biblio.biblionumber + biblioitems.biblioitemnumber)
Craig Butosi
craig.butosi at rcmusic.ca
Sun Dec 13 13:02:21 NZDT 2015
Hi all,
Update re: Framework Error:
Recap: The error I was receiving after running the MARC Framework Test was
biblio and biblionumber | The biblio.biblionumber and biblioitems.biblioitemnumber fields be mapped to a MARC subfield,
It looks like Tag 001's "Managed in tag" basic constraint was set to "0", as in Tab 0. I changed this constraint to "Ignore", ran the Framework test again, and this cleared the error.
Unfortunately, the above seems to be unrelated to the Merge Authority problem I am having. Again, after clicking the Merge button after choosing a reference authority, I get
Software error:
Can't call method "data" on an undefined value at /usr/share/koha/lib/C4/AuthoritiesMarc.pm line 1491
and the reference authority disappears from the index.
I forgot to mention that the page on which the Merge button resides, is blank. It does not show the expected authority subfield editor where one can choose the subfields to either ignore or include in the merge. See image<http://https://www.dropbox.com/s/f0ez3cmtrlr8xvd/AuthorityMergePageError.docx?dl=0> (https://www.dropbox.com/s/f0ez3cmtrlr8xvd/AuthorityMergePageError.docx?dl=0)
C
Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
the royal conservatory
TELUS Centre for Performance and Learning
273 Bloor Street West Toronto, ON M5S 1W2
416.408.2824 x338
www.rcmusic.ca
________________________________________
From: Koha [koha-bounces at lists.katipo.co.nz] on behalf of Craig Butosi [craig.butosi at rcmusic.ca]
Sent: Friday, December 11, 2015 11:34 PM
To: Koha
Subject: [Koha] Authority Merge Error (3.22) + Framework error (biblio.biblionumber + biblioitems.biblioitemnumber)
Hi all,
Koha 3.22 on Ubuntu 14.04 LTA 64 (package installation)
Part A
I just attempted to merge an authority record with another, and received for the first time ever the following error after clicking 'Merge':
Software error:
Can't call method "data" on an undefined value at /usr/share/koha/lib/C4/AuthoritiesMarc.pm line 1491.
I have never seen this error before, and I don't think I altered any sysprefs that would affect merge authorities from the move from 3.20 --> 3.22. Weird.
Part B
Also, I serendipitously stumbled upon one framework error after using the MARC framework tester (this is also a new error since upgrading to 3.22). Error output from the test result table is:
biblio and biblionumber | The biblio.biblionumber and biblioitems.biblioitemnumber fields be mapped to a MARC subfield,
So, I ran the following SQL query:
->USE koha_library2;
->SELECT frameworkcode, tagfield, tagsubfield, kohafield FROM marc_subfield_structure WHERE kohafield in ('biblio.biblionumber', 'biblioitems.biblioitemnumber');
Output is,
+---------------+----------+-------------+------------------------------+
| frameworkcode | tagfield | tagsubfield | kohafield |
+---------------+----------+-------------+------------------------------+
| | 001 | @ | biblio.biblionumber |
| ACQ | 001 | @ | biblio.biblionumber |
| BKS | 001 | @ | biblio.biblionumber |
| CF | 001 | @ | biblio.biblionumber |
| FA | 001 | @ | biblio.biblionumber |
| SER | 001 | @ | biblio.biblionumber |
| THE | 001 | @ | biblio.biblionumber |
| | 999 | d | biblioitems.biblioitemnumber |
| ACQ | 999 | d | biblioitems.biblioitemnumber |
| BKS | 999 | d | biblioitems.biblioitemnumber |
| CF | 999 | d | biblioitems.biblioitemnumber |
| FA | 999 | d | biblioitems.biblioitemnumber |
| SER | 999 | d | biblioitems.biblioitemnumber |
| THE | 999 | d | biblioitems.biblioitemnumber |
+---------------+----------+-------------+------------------------------+
Row 5 (FA 001 @ biblio.biblionumber) was non-existent when I first ran the query. What you are seeing is the SQL query after I added this tag to the FA framework, thinking that its absence was the issue. Specifically, I manually added a 001 tag to the FA framework, and replicated the subfield variables from the Default Framework. After saving the former, I ran the framework test again, but the error persists.
These might be two very different issues, but I have no idea how to tackle either. Thoughts anyone? Would love to get my authorities module up and running again.
Thanks all!
Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
the royal conservatory
TELUS Centre for Performance and Learning
273 Bloor Street West Toronto, ON M5S 1W2
416.408.2824 x338
www.rcmusic.ca<https://webmail.rcmusic.ca/owa/redir.aspx?C=b481823b299d45ee94b0016389bb76e9&URL=http%3a%2f%2fwww.rcmusic.ca%2f>
Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.
_______________________________________________
Koha mailing list http://koha-community.org
Koha at lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha
Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.
More information about the Koha
mailing list