[Koha] Authority Merge Error (3.22) + Framework error (biblio.biblionumber + biblioitems.biblioitemnumber)

Craig Butosi craig.butosi at rcmusic.ca
Sat Dec 12 17:34:12 NZDT 2015


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.


More information about the Koha mailing list